-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc
More file actions
32 lines (32 loc) · 1.01 KB
/
.eslintrc
File metadata and controls
32 lines (32 loc) · 1.01 KB
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
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false,
"ecmaVersion": 8,
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"extends": ["airbnb", "prettier", "eslint:recommended", "plugin:import/errors", "plugin:react/recommended", "plugin:jsx-a11y/recommended", "plugin:cypress/recommended"],
"env": {
"browser": true,
"jest": true
},
"rules": {
"max-len": ["error", { "code": 200 }],
"prefer-promise-reject-errors": ["off"],
"react/jsx-filename-extension": ["off"],
"react/prop-types": ["warn"],
"no-return-assign": ["off"],
"react/function-component-definition": ["off"],
"react/jsx-props-no-spreading": ["off"],
"default-param-last": ["off"],
"import/no-extraneous-dependencies": ["off"],
"import/prefer-default-export": ["off"],
"import/no-unresolved": ["off"]
},
"plugins": ["react", "import", "jsx-a11y"]
}