forked from Giveth/giveth-dapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 776 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
31
32
33
{
"extends": ["airbnb", "plugin:prettier/recommended"],
"rules": {
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "to", "hrefLeft", "hrefRight" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}],
"no-param-reassign": [2, {
"props": false
}],
"no-underscore-dangle": 0,
"no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}
],
"linebreak-style": "off",
"prettier/prettier": ["error", {
"singleQuote": true,
"trailingComma": "all"
}]
},
"env": {
"jest": true
},
"globals": {
"FileReader": true,
"window": true
}
}