Skip to content

Commit

Permalink
Fix settings.json to read ESlint's flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Mar 22, 2024
1 parent f867cfd commit 9e88ec9
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
"typescript"
],
"typescript.tsdk": "node_modules/typescript/lib"
}
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.experimental.useFlatConfig": true,
"eslint.options": {
"overrideConfigFile": "eslint.config.js"
},
"eslint.nodeEnv": "ESLINT_USE_FLAT_CONFIG",
"eslint.validate": ["javascript", "typescript"],
"typescript.tsdk": "node_modules/typescript/lib"
}

0 comments on commit 9e88ec9

Please sign in to comment.