-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
39 lines (39 loc) · 1.18 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
{
"extends": ["airbnb-typescript-prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"class-methods-use-this": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/prefer-default-export": "off",
"jsx-a11y/accessible-emoji": "off",
"jsx-a11y/alt-text": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/media-has-caption": "warn",
"lines-between-class-members": "off",
"max-len": ["error", { "code": 140, "ignoreUrls": true }],
"no-console": "off",
"no-continue": "off",
"no-plusplus": "off",
"no-underscore-dangle": "warn",
"no-use-before-define": [0],
"no-useless-constructor": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off"
},
"settings": {
"import/core-modules": [ "electron" ],
"react": {
"version": "detect"
}
}
}