-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.js
27 lines (27 loc) · 1.27 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": __dirname + "/tsconfig.lint.json",
"sourceType": "module",
"ecmaVersion": 2018
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended", // Uses the set of rules recommended by the ESLint Team
"plugin:@typescript-eslint/eslint-recommended", // Uses @typescript-eslint/eslint-plugin to adjust the rules set by `eslint:recommended` that are not compatible with TypeScript
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from @typescript-eslint/eslint-plugin
"prettier/@typescript-eslint", // Uses eslint-config-prettier to disable rules that are unnecessary or might conflict with Prettier
"plugin:prettier/recommended" // Enables both eslint-plugin-prettier and extends the rules from eslint-config-prettier. Will report Prettier errors to ESLint.
// Only special rules should be added after `plugin:prettier/recommended`.
// See the list of special rules:
// - https://github.com/prettier/eslint-config-prettier/blob/dcca556e260af985ece4d9af92531fa649268f80/README.md#special-rules
],
"rules": {
"@typescript-eslint/no-explicit-any": 0
},
"env": {
"es6": true,
"node": true
}
}