-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
37 lines (37 loc) · 926 Bytes
/
.eslintrc.js
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
36
37
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": false
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react"
],
"ignorePatterns": [
// we probably want to change it to a function component,
// the error was:
// Parsing error: Unexpected token =
"components/unlock/unlock.js"
],
"rules": {
"react/prop-types": "off",
"react/jsx-key": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-no-target-blank": "off",
"react/no-unescaped-entities": "off",
"no-undef": "off",
"no-dupe-else-if": "off",
"no-unreachable": "off",
"react/jsx-no-undef": "off"
}
};