Skip to content

Commit 7bbc379

Browse files
committed
initial migration steps
1 parent f281996 commit 7bbc379

File tree

9 files changed

+4525
-229
lines changed

9 files changed

+4525
-229
lines changed

.eslintrc

Lines changed: 6 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,8 @@
11
{
2-
/** Enable ES6 features */
3-
"parserOptions": {
4-
"ecmaVersion": 6,
5-
"sourceType": "module",
6-
"ecmaFeatures": {
7-
"classes": true
8-
}
9-
},
10-
"rules": {
11-
12-
"arrow-spacing": [2, {
13-
"before": true,
14-
"after": true
15-
}],
16-
17-
/** Variables */
18-
"no-catch-shadow": 2,
19-
"no-delete-var": 2,
20-
"no-label-var": 2,
21-
"no-shadow-restricted-names": 2,
22-
"no-shadow": 2,
23-
"no-undef-init": 2,
24-
"no-undef": 2,
25-
"no-unused-vars": 1,
26-
27-
/** Style */
28-
"array-bracket-spacing": [2, "never", {
29-
"singleValue": true,
30-
"objectsInArrays": true,
31-
"arraysInArrays": true
32-
}],
33-
"quotes": [1, "single", "avoid-escape"],
34-
"eqeqeq": 0,
35-
"brace-style": [2, "1tbs"],
36-
37-
"comma-spacing": [2, {
38-
"before": false,
39-
"after": true
40-
}],
41-
"comma-style": [2, "last"],
42-
"eol-last": 0,
43-
"no-nested-ternary": 1,
44-
"no-trailing-spaces": 2,
45-
"no-mixed-spaces-and-tabs": 2,
46-
"padded-blocks": [2, "never"],
47-
"space-before-blocks": 1,
48-
"space-before-function-paren": [1, {
49-
"anonymous": "always",
50-
"named": "never"
51-
}],
52-
"spaced-comment": [2, "always", {
53-
"exceptions": ["-", "+"],
54-
"markers": ["=", "!"]
55-
}],
56-
"semi": [2, "always"],
57-
"indent": [2, 2, {
58-
"SwitchCase": 1,
59-
"VariableDeclarator": 2
60-
}],
61-
"camelcase": [2, {
62-
"properties": "always"
63-
}],
64-
"newline-after-var": [1, "always"],
65-
"require-jsdoc": ["error", {
66-
"require": {
67-
"FunctionDeclaration": true,
68-
"MethodDefinition": true,
69-
"ClassDeclaration": true,
70-
"ArrowFunctionExpression": false
71-
}
72-
}]
73-
74-
},
75-
"globals": {
76-
"document": true,
77-
"module": true,
78-
"require": true,
79-
"window": true,
80-
"console": true,
81-
"define": true
82-
}
2+
"globals": {},
3+
"parserOptions": {
4+
"sourceType": "module",
5+
"ecmaVersion": 2020
6+
},
7+
"parser": "@typescript-eslint/parser"
838
}

0 commit comments

Comments
 (0)