forked from topheman/my-react-app-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 823 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
{
"extends": ["react-app", "airbnb", "prettier"],
"plugins": ["prettier", "cypress"],
"rules": {
"prettier/prettier": "error",
"no-console": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": [2, { "forbid": ["any"] }],
"react/no-did-mount-set-state": "off",
"import/prefer-default-export": "off",
"prefer-template": "off",
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"global-require": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
]
},
"globals": {
"cy": true
},
"env": {
"mocha": true,
"cypress/globals": true
}
}