forked from SmartInvoiceXYZ/smart-invoice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (31 loc) · 843 Bytes
/
.eslintrc.json
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
{
"root": true,
"env": {
"node": true,
"es6": true
},
"extends": ["airbnb", "prettier", "react-app", "plugin:mocha/recommended"],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"plugins": ["simple-import-sort", "mocha"],
"settings": {},
"rules": {
// Prefer non-default exports
"import/no-default-export": "error",
"import/prefer-default-export": "off",
// Auto-sort imports
"sort-imports": "off",
"import/order": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
// Allow props spreading
"react/jsx-props-no-spreading": "off",
// disable prop-types
"react/prop-types": "off",
// disable form label
"jsx-a11y/label-has-associated-control": "off"
},
"ignorePatterns": ["packages/subgraph/**"]
}