-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
106 lines (106 loc) · 3.19 KB
/
.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
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"plugins": ["prettier"],
"extends": ["react-app", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true
},
"rules": {
"prefer-const": "warn",
"no-var": "warn",
"eqeqeq": 0,
"no-const-assign": "error",
"no-new-object": "warn",
"object-shorthand": "warn",
"no-prototype-builtins": "warn",
"no-array-constructor": "warn",
"prefer-template": "warn",
"no-useless-escape": "warn",
"wrap-iife": ["warn", "inside"],
"no-loop-func": "warn",
"no-new-func": "warn",
"prefer-rest-params": "warn",
"space-before-function-paren": [
"warn",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"prefer-arrow-callback": "warn",
"template-curly-spacing": "warn",
"no-param-reassign": ["warn", { "props": false }],
"prefer-spread": "warn",
"arrow-spacing": "warn",
"arrow-body-style": ["warn", "as-needed"],
"no-confusing-arrow": ["warn", { "allowParens": true }],
"no-useless-constructor": "warn",
"no-dupe-class-members": "warn",
"no-duplicate-imports": "warn",
"dot-notation": "warn",
"no-undef": ["warn", { "typeof": true }],
"one-var": ["warn", "never"],
"no-multi-assign": "warn",
"no-case-declarations": "warn",
"no-nested-ternary": "warn",
"no-unneeded-ternary": "warn",
"brace-style": "warn",
"space-before-blocks": [
"warn",
{ "functions": "always", "keywords": "always", "classes": "always" }
],
"space-infix-ops": "warn",
"eol-last": ["warn", "always"],
"no-whitespace-before-property": "warn",
"padded-blocks": ["warn", "never"],
"space-in-parens": ["warn", "never"],
"array-bracket-spacing": ["warn", "never"],
"object-curly-spacing": ["warn", "always"],
"max-len": ["warn", { "code": 100 }],
"comma-style": ["warn", "last"],
"semi": ["warn"],
"radix": "warn",
"camelcase": ["warn", { "properties": "never" }],
"new-cap": ["warn", { "capIsNewExceptionPattern": "^Entry." }],
"curly": "warn",
"keyword-spacing": "warn"
},
"globals": {
"_": true,
"arcon": true,
"goog": true,
"acorn": true,
"createjs": true,
"Entry": true,
"filbert": true,
"Blockly": true,
"BigNumber": true,
"Lang": true,
"context": true,
"popup": true,
"WebFont": true,
"CanvasInput": true,
"EntryStatic": true,
"EaselHandle": true,
"ndgmr": true,
"Ntry": true,
"Snap": true,
"mina": true,
"Touch": true,
"io": true,
"LC": true,
"ActiveXObject": true,
"CodeMirror": true,
"entrylms": true,
"require": true,
"module": true,
"process": true
}
}