Last active
October 3, 2022 18:33
-
-
Save samuelastech/1e10584c4b9403bafc4bbe8c9c0befd7 to your computer and use it in GitHub Desktop.
ESLint setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"es2021": true, | |
"node": true, | |
"jest": true | |
}, | |
"extends": "standard-with-typescript", | |
"overrides": [ | |
], | |
"parserOptions": { | |
"ecmaVersion": "latest", | |
"sourceType": "module", | |
"project": ["tsconfig.json"] | |
}, | |
"rules": { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"eslint.validate": ["javascript", "typescript"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment