-
-
Notifications
You must be signed in to change notification settings - Fork 406
Expand file tree
/
Copy path.eslintrc.js
More file actions
28 lines (26 loc) · 646 Bytes
/
Copy path.eslintrc.js
File metadata and controls
28 lines (26 loc) · 646 Bytes
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
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
jest: true,
},
extends: ["eslint:recommended", "plugin:react/recommended"],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: "module",
},
plugins: ["react"],
rules: {
"react/prop-types": "off",
"no-mixed-spaces-and-tabs": 0,
"react/no-unescaped-entities": 0,
indent: ["error", "tab", { SwitchCase: 1 }],
"linebreak-style": 0,
quotes: ["error", "double"],
semi: ["error", "always"],
},
};