Skip to content

Instantly share code, notes, and snippets.

@mecab
Created April 23, 2020 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mecab/83968ed3d05684c02d01490a2bcea77a to your computer and use it in GitHub Desktop.
Save mecab/83968ed3d05684c02d01490a2bcea77a to your computer and use it in GitHub Desktop.
.eslintrc.js
module.exports = {
'extends': [
'plugin:@typescript-eslint/recommended'
],
'plugins': ['@typescript-eslint'],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
'rules': {
"@typescript-eslint/explicit-function-return-type": [ "error", { allowExpressions: true } ],
"@typescript-eslint/no-unused-vars": [ "warn", { "argsIgnorePattern": "^_" } ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment