diff --git a/.prettierrc.js b/prettier.config.js similarity index 55% rename from .prettierrc.js rename to prettier.config.js index 2b540746a..20c19974d 100644 --- a/.prettierrc.js +++ b/prettier.config.js @@ -1,7 +1,12 @@ -module.exports = { +// @ts-check + +/** @type {import('prettier').Config} */ +const config = { arrowParens: 'avoid', bracketSameLine: true, bracketSpacing: false, singleQuote: true, trailingComma: 'all', }; + +module.exports = config;