diff --git a/.eslintrc.js b/.eslintrc.js index bf41030..590b814 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,6 +18,7 @@ module.exports = { 'plugin:prettier/recommended' ], rules: { + 'prettier/prettier': 'warn', 'no-empty': ['warn', { allowEmptyCatch: true }], '@typescript-eslint/ban-ts-comment': ['error', { 'ts-ignore': 'allow-with-description' }], '@typescript-eslint/explicit-function-return-type': 'error', diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4c05394 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } +}