forked from cosmostation/space-station
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.json
More file actions
35 lines (35 loc) · 856 Bytes
/
.eslintrc.json
File metadata and controls
35 lines (35 loc) · 856 Bytes
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
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"standard",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"semi": ["error", "always"],
"no-use-before-define": "off",
"consistent-return": "error",
"no-return-await": "error",
"no-console": "error",
"comma-dangle": ["error", {
"imports": "ignore"
}],
"@typescript-eslint/explicit-function-return-type": "error"
},
"ignorePatterns": ["**/constants/*.js"]
}