-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.json
28 lines (28 loc) · 879 Bytes
/
.eslintrc.json
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["simple-import-sort", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": ["error", {}, { "usePrettierrc": true }],
"@typescript-eslint/class-name-casing": "warn",
"@typescript-eslint/semi": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"simple-import-sort/imports": "error",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error", { "functions": false }]
}
}