-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (33 loc) · 951 Bytes
/
.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
// .eslintrc
{
"env": {
"browser": true,
"es6": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"plugins": ["react", "prettier"],
"rules": {
"react/prop-types": 0,
"no-underscore-dangle": 0,
"reportUnusedDisableDirectives": true,
"import/imports-first": ["error", "absolute-first"],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"import/newline-after-import": "error",
"import/prefer-default-export": 0,
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": 0,
"react/jsx-one-expression-per-line": 0,
"linebreak-style": 0,
"no-unused-vars": 0
// ❗️error off : 0 , warning 1,❗️
}
}