-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
26 lines (26 loc) · 732 Bytes
/
.eslintrc
File metadata and controls
26 lines (26 loc) · 732 Bytes
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
{
"root": true,
"extends": ["airbnb", "plugin:prettier/recommended"],
"parser": "babel-eslint",
"env": {
"browser": true
},
"globals": {
"shallow": false,
"render": false,
"mount": false,
"graphql": false
},
"plugins": ["react", "prefer-object-spread", "compat"],
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"linebreak-style": "off",
"no-underscore-dangle": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-one-expression-per-line": "off",
"react/no-danger": "off",
"react/no-unescaped-entities": "off",
"prettier/prettier": "error"
}
}