Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit b1c0030

Browse files
committed
customize .eslintrc
1 parent 771c5e9 commit b1c0030

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.eslintrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,26 @@
5959
"$FlowIssue": false,
6060
"$FlowFixMe": false,
6161
"$FixMe": false
62+
},
63+
"rules": {
64+
"eqeqeq": "warn",
65+
"indent": "warn",
66+
"no-mixed-spaces-and-tabs": "warn",
67+
"no-multi-spaces": "warn",
68+
"no-return-assign": "warn",
69+
"no-return-await": "warn",
70+
"no-tabs": "warn",
71+
"no-unused-vars": [
72+
"warn",
73+
{
74+
"vars": "all",
75+
"args": "none",
76+
"varsIgnorePattern": "React"
77+
}
78+
],
79+
"react/no-unused-prop-types": "warn",
80+
"react/prop-types": 0,
81+
"standard/array-bracket-even-spacing": "warn",
82+
"standard/object-curly-even-spacing": "warn"
6283
}
6384
}

0 commit comments

Comments
 (0)