Skip to content

Commit 4fb26fc

Browse files
committed
deleted .eslintrc
Signed-off-by: YASHMAHAKAL <yvsst01@gmail.com>
1 parent c2c0ecd commit 4fb26fc

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.eslintrc

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"settings": {
3+
"react": {
4+
"version": "latest"
5+
},
6+
"import/extensions": [
7+
".js"
8+
],
9+
"import/resolver": {
10+
"node": {
11+
"extensions": [
12+
".js"
13+
]
14+
},
15+
"webpack": {
16+
"config": "webpack.config.js"
17+
}
18+
}
19+
},
20+
"parserOptions": {
21+
"ecmaVersion": 2020,
22+
"sourceType": "module",
23+
"allowImportExportEverywhere": true,
24+
"ecmaFeatures": {
25+
"jsx": true,
26+
"experimentalObjectRestSpread": true
27+
}
28+
},
29+
"env": {
30+
"es6": true,
31+
"browser": true,
32+
"mocha": true,
33+
"node": true
34+
},
35+
"extends": [
36+
"plugin:jsx-a11y/recommended"
37+
],
38+
"rules": {
39+
"no-console": "off",
40+
"semi": 2,
41+
"no-undef": 2,
42+
"no-undef-init": 2,
43+
"no-tabs": 2,
44+
"react/self-closing-comp": 2,
45+
"react/no-typos": 2,
46+
"react/jsx-no-duplicate-props": "warn",
47+
"react-hooks/rules-of-hooks": "error",
48+
"react-hooks/exhaustive-deps": "warn",
49+
"jsx-a11y/no-autofocus": [
50+
2,
51+
{
52+
"ignoreNonDOM": true
53+
}
54+
]
55+
},
56+
"plugins": [
57+
"import",
58+
"react",
59+
"jsx-a11y",
60+
"filenames",
61+
"react-hooks"
62+
]
63+
}

0 commit comments

Comments
 (0)