-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy path.eslintrc.js
63 lines (61 loc) · 1.76 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module.exports = {
extends: ["react-app"],
rules: {
"import/no-anonymous-default-export": ["error", {"allowObject": true}],
}
}
// module.exports = {
// env: {
// browser: true,
// es6: true,
// jest: true
// },
// extends: [
// "react-app",
// "airbnb-typescript",
// "prettier",
// "prettier/@typescript-eslint",
// "prettier/react"
// ],
// globals: {
// Atomics: "readonly",
// SharedArrayBuffer: "readonly"
// },
// parserOptions: {
// ecmaFeatures: {
// jsx: true
// },
// ecmaVersion: 2018,
// sourceType: "module"
// },
// plugins: ["react"],
// rules: {
// "import/order": "off",
// "import/prefer-default-export": "off",
// "max-len": "off",
// "no-console": "off",
// "@typescript-eslint/no-unused-vars": "off",
// "react/destructuring-assignment": "off",
// "no-plusplus": "off",
// "default-case": "off",
// "lines-between-class-members": "off",
// "react/prop-types": "off",
// "react/sort-comp": "off",
// "react/jsx-boolean-value": "off",
// "react/static-property-placement": ["warn", "static public field"],
// "react/state-in-constructor": "off",
// "react/jsx-props-no-spreading": "off",
// "@typescript-eslint/no-use-before-define": "off",
// // List we should probably activate at some point
// "import/no-cycle": "off",
// "no-param-reassign": "off",
// "class-methods-use-this": "off",
// "react/no-array-index-key": "off",
// "react/jsx-no-target-blank": "off",
// "jsx-a11y/no-static-element-interactions": "off",
// "jsx-a11y/anchor-is-valid": "off",
// "jsx-a11y/click-events-have-key-events": "off",
// "jsx-a11y/alt-text": "off",
// "max-classes-per-file": "off"
// }
// }