diff --git a/.prettierrc.json b/.prettierrc.json index 0967ef42..84cc551f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1 +1,4 @@ -{} +{ + "$schema": "https://json.schemastore.org/prettierrc", + "singleQuote": true +} diff --git a/eslint.config.js b/eslint.config.js index aae7129b..6f4f11ed 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -25,12 +25,7 @@ export default tseslint.config( rules: { 'n/no-missing-import': 'off', // bug with recognizing node: prefix https://github.com/mysticatea/eslint-plugin-node/issues/275 - 'prettier/prettier': [ - 'error', - { - singleQuote: true, - }, - ], + 'prettier/prettier': 'error', // see `.prettierrc.json` for format config // unicorn rules: 'unicorn/expiring-todo-comments': 'off',