-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
28 lines (28 loc) · 805 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
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false
},
"extends": [ "prettier", "react-app"],
"env": {
"browser": true,
"es2020": true,
"jest": true
},
"ignorePatterns": ["build/*", "src/setupTests.js"],
"rules": {
"max-len": ["error", { "code": 100 }],
"prefer-promise-reject-errors": ["off"],
"react/jsx-filename-extension": ["off"],
"react/prop-types": ["off"],
"no-return-assign": ["off"],
"react/destructuring-assignment": ["off", "always", { "ignoreClassFields": true }],
"react/jsx-one-expression-per-line": ["off", { "allow": "single-child" }],
"no-console": "off",
"max-lines": "off",
"no-undef": "off",
"no-unused-vars": ["off"]
}
}