-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.json
executable file
·43 lines (43 loc) · 1.06 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
40
41
42
43
{
"env": {
"browser": true,
"es6": true
},
"extends": ["plugin:react/recommended", "google"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"tsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"settings": {
"react": {
"version": "18.2.0"
}
},
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"import/no-unresolved": "off",
"react/jsx-filename-extension": [1, { "extensions": [".tsx"] }],
"import/extensions": "off",
"react/button-has-type": "off",
"no-undef": "off",
"max-len": "off",
"require-jsdoc": "off",
"react/display-name": "off",
"no-unused-vars": "off",
"valid-jsdoc": "off",
"no-invalid-this": "off",
"new-cap": ["error", { "newIsCap": false, "capIsNew": false }],
"linebreak-style": 0
}
}