Skip to content

Instantly share code, notes, and snippets.

@samuelastech
Last active October 3, 2022 18:33
Show Gist options
  • Save samuelastech/1e10584c4b9403bafc4bbe8c9c0befd7 to your computer and use it in GitHub Desktop.
Save samuelastech/1e10584c4b9403bafc4bbe8c9c0befd7 to your computer and use it in GitHub Desktop.
ESLint setup
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"extends": "standard-with-typescript",
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["tsconfig.json"]
},
"rules": {
}
}
{
"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