forked from parmsang/gatsby-starter-ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 789 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
35
{
"env": {
"browser": true,
"es6": true,
"jest/globals": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react", "prettier", "jest"],
"rules": {
"prettier/prettier": "error",
"import/no-extraneous-dependencies": "off",
"react/jsx-filename-extension": "off",
"jsx-a11y/anchor-is-valid": "off",
"no-console": 0,
"no-underscore-dangle": [2, { "allowAfterThis": true }],
"no-shadow": "off",
"jsx-a11y/label-has-for": [
2,
{
"required": {
"every": ["id"]
}
}
],
"react/prop-types": 0
}
}