forked from MhdSyrwan/aor-embedded-array
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 828 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
{
"parser": "babel-eslint",
"env": {
"es6": true,
"mocha": true,
"node": true,
"browser": true,
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended",
"prettier",
"prettier/react"
],
"plugins": [
"react",
"prettier"
],
"rules": {
"prettier/prettier": ["error", {
"printWidth": 120,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all"
}],
"react/prop-types": ["warn"],
"import/no-extraneous-dependencies": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-unused-vars": ["error", { "ignoreRestSiblings": true }]
}
}