Skip to content

Commit

Permalink
Better VSCode settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyas committed Aug 30, 2021
1 parent bf75a0a commit b73d241
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
},
extends: ['prettier'],
plugins: ['@typescript-eslint', 'import', 'jsdoc'],
ignorePatterns: [],
ignorePatterns: ['.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: [
Expand Down
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"editor.formatOnSave": true,
"editor.tabSize": 2,
"eslint.enable": true,
"eslint.options": {
"configFile": "./.eslintrc.js"
"configFile": "./.eslintrc.cjs"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsdk": "node_modules/typescript/lib"
}

0 comments on commit b73d241

Please sign in to comment.