Skip to content

Instantly share code, notes, and snippets.

@mmaous
Last active March 2, 2022 21:23
Show Gist options
  • Save mmaous/5f253248bff2653de9c9932a6da3a438 to your computer and use it in GitHub Desktop.
Save mmaous/5f253248bff2653de9c9932a6da3a438 to your computer and use it in GitHub Desktop.
Linter for TS-node Projects
{
"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