-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 862 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
{
"extends": ["airbnb", "prettier", "prettier/react", "plugin:jsx-a11y/recommended"],
"env": {
"browser": true,
"es6": true,
"commonjs": true,
"node": true
},
"plugins": ["react", "react-hooks", "jsx-a11y", "import", "prettier"],
"globals": {
"graphql": false
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"rules": {
"prettier/prettier": ["error"],
"quotes": [2, "backtick"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/require-default-props": 0,
"no-use-before-define": ["error", { "variables": false }],
"react/react-in-jsx-scope": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}