Last active
March 2, 2022 21:23
-
-
Save mmaous/5f253248bff2653de9c9932a6da3a438 to your computer and use it in GitHub Desktop.
Linter for TS-node Projects
This file contains hidden or 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
{ | |
"extends": [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:@typescript-eslint/recommended-requiring-type-checking" | |
], | |
"env": { | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["@typescript-eslint"], | |
"parser": "@typescript-eslint/parser", | |
"rules": { | |
"@typescript-eslint/semi": ["error"], | |
"@typescript-eslint/explicit-function-return-type": "off", | |
"@typescript-eslint/explicit-module-boundary-types": "off", | |
"@typescript-eslint/restrict-template-expressions": "off", | |
"@typescript-eslint/restrict-plus-operands": "off", | |
"@typescript-eslint/no-unused-vars": [ | |
"error", | |
{ "argsIgnorePattern": "^_" } | |
], | |
"no-case-declarations": "off" | |
}, | |
"parserOptions": { | |
"project": "./tsconfig.json" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment