forked from welovedevs/react-ultimate-resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
52 lines (52 loc) · 1.86 KB
/
.eslintrc
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
44
45
46
47
48
49
50
51
52
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": ["react-hooks", "babel", "react", "jsx-a11y"],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"arrow-parens": "off",
"comma-dangle": ["error", "never"],
"function-paren-newline": "warn",
"implicit-arrow-linebreak": "off",
"import/no-cycle": ["off"],
"import/no-extraneous-dependencies": ["warn"],
"import/prefer-default-export": "off",
"import/no-named-as-default": "off",
"indent": ["off", 4],
"jsx-a11y/alt-text": "off",
"jsx-a11y/no-static-element-interactions": ["off"],
"jsx-a11y/href-no-hash": ["off"],
"jsx-a11y/click-events-have-key-events": ["warn"],
"max-len": ["off", 120],
"no-tabs": ["off"],
"no-alert": "error",
"no-console": ["off"],
"no-underscore-dangle": ["off"],
"object-curly-newline": "off",
"operator-linebreak": ["error", "after"],
"prefer-destructuring": "warn",
"react/destructuring-assignment": ["warn", "always"],
"react/jsx-curly-brace-presence": ["off"],
"react/jsx-indent": ["off"],
"react/jsx-indent-props": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/jsx-no-literals": ["error", { "noStrings": false }],
"react/jsx-wrap-multilines": ["error", { "declaration": false, "assignment": false }],
"react/jsx-tag-spacing": "off",
"react/no-array-index-key": "off",
"react/prop-types": ["off"],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "off",
"space-before-function-paren": "off"
},
"globals": {
"window": true,
"talkus": true,
"document": true,
"localStorage": true
}
}