forked from Xavier577/vanilla-typescript-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 847 Bytes
/
.eslintrc
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
28
29
30
31
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"airbnb",
"airbnb-typescript/base",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "warn",
"class-methods-use-this": "off",
"func-names": "off",
"import/prefer-default-export": "warn",
"no-console": "warn",
"no-duplicate-imports": "error",
"no-unused-vars": "warn",
"no-plusplus": "warn",
"no-param-reassign": "off",
"prefer-const": "warn",
"object-shorthand": "off",
"spaced-comment": "warn"
}
}