-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 967 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
{
"extends": [
"plugin:@hack4impact-uiuc/base",
"plugin:@hack4impact-uiuc/react"
],
"plugins": ["simple-import-sort", "@hack4impact-uiuc"],
"rules": {
"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"] }
],
"react/jsx-pascal-case": ["error", { "allowAllCaps": true }],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/first": "error",
"import/newline-after-import": "error",
"sort-imports": "off"
}
}