commit | author | age
|
bae328
|
1 |
{ |
JR |
2 |
"env": { |
|
3 |
"browser": true, |
|
4 |
"es6": true |
|
5 |
}, |
|
6 |
"extends": [ |
|
7 |
"eslint:recommended", |
|
8 |
"plugin:react/recommended", |
|
9 |
"plugin:@typescript-eslint/eslint-recommended" |
|
10 |
], |
|
11 |
"globals": { |
|
12 |
"Atomics": "readonly", |
|
13 |
"SharedArrayBuffer": "readonly" |
|
14 |
}, |
|
15 |
"parser": "@typescript-eslint/parser", |
|
16 |
"parserOptions": { |
|
17 |
"ecmaFeatures": { |
|
18 |
"jsx": true |
|
19 |
}, |
|
20 |
"ecmaVersion": 2018, |
|
21 |
"sourceType": "module" |
|
22 |
}, |
|
23 |
"plugins": [ |
|
24 |
"react", |
|
25 |
"@typescript-eslint" |
|
26 |
], |
|
27 |
"rules": { |
|
28 |
"max-len": [ |
|
29 |
"error", |
d4efcf
|
30 |
120 |
bae328
|
31 |
], |
JR |
32 |
"indent": [ |
|
33 |
"error", |
|
34 |
4 |
|
35 |
], |
|
36 |
"linebreak-style": [ |
|
37 |
"error", |
|
38 |
"unix" |
|
39 |
], |
|
40 |
"quotes": [ |
|
41 |
"error", |
|
42 |
"double" |
|
43 |
], |
|
44 |
"semi": [ |
|
45 |
"error", |
|
46 |
"always" |
|
47 |
] |
|
48 |
}, |
|
49 |
"settings": { |
|
50 |
"react": { |
|
51 |
"version": "detect" |
|
52 |
} |
|
53 |
}, |
|
54 |
"overrides": [ |
|
55 |
{ |
|
56 |
"files": [ |
|
57 |
"*.ts", |
|
58 |
"*.tsx" |
|
59 |
], |
|
60 |
"rules": { |
|
61 |
"@typescript-eslint/no-unused-vars": [ |
|
62 |
2, |
|
63 |
{ |
|
64 |
"args": "none" |
|
65 |
} |
|
66 |
] |
|
67 |
} |
|
68 |
}, |
|
69 |
{ |
|
70 |
"files": [ |
|
71 |
"server.js", |
|
72 |
"src/Config.js" |
|
73 |
], |
|
74 |
"env": { |
|
75 |
"node": true |
|
76 |
} |
|
77 |
} |
|
78 |
] |
|
79 |
} |