-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc.json
40 lines (40 loc) · 968 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
29
30
31
32
33
34
35
36
37
38
39
40
{
"extends": [
"plugin:@hack4impact-uiuc/base",
"plugin:@hack4impact-uiuc/react"
],
"plugins": ["simple-import-sort", "@hack4impact-uiuc"],
"rules": {
"prefer-const": "error",
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"no-else-return": "off",
"no-magic-numbers": "off",
"no-nested-ternary": "off",
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"dot-notation": "error",
"@hack4impact-uiuc/no-null-ternary": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [
1,
{ "extensions": [".js", ".jsx", ".ts", ".tsx"] }
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/first": "error",
"import/newline-after-import": "error",
"sort-imports": "off"
},
"ignorePatterns": ["apiSchema.ts"]
}