Skip to content

Commit 0acd72d

Browse files
committed
chore: old eslintrc to reference
1 parent 01070f6 commit 0acd72d

File tree

1 file changed

+98
-98
lines changed

1 file changed

+98
-98
lines changed

.eslintrc.json.old

Lines changed: 98 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,129 @@
11
{
2-
"env": {
3-
"es2021": true,
4-
"node": true,
5-
"mocha": true
2+
'env': {
3+
'es2021': true,
4+
'node': true,
5+
'mocha': true
66
},
7-
"extends": [
8-
"eslint:recommended",
9-
"plugin:@typescript-eslint/recommended",
10-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
11-
"plugin:import/errors",
12-
"plugin:import/warnings",
13-
"plugin:import/typescript",
14-
"prettier"
7+
'extends': [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/recommended',
10+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
11+
'plugin:import/errors',
12+
'plugin:import/warnings',
13+
'plugin:import/typescript',
14+
'prettier'
1515
],
16-
"parser": "@typescript-eslint/parser",
17-
"parserOptions": {
18-
"ecmaVersion": 2021,
19-
"sourceType": "module",
20-
"ecmaFeatures": {
21-
"impliedStrict": true
16+
'parser': '@typescript-eslint/parser',
17+
'parserOptions': {
18+
'ecmaVersion': 2021,
19+
'sourceType': 'module',
20+
'ecmaFeatures': {
21+
'impliedStrict': true
2222
},
23-
"project": "tsconfig.json"
23+
'project': 'tsconfig.json'
2424
},
25-
"plugins": ["import", "@typescript-eslint", "prettier"],
26-
"root": true,
27-
"rules": {
28-
"@typescript-eslint/explicit-module-boundary-types": "off",
29-
"@typescript-eslint/indent": "off",
30-
"@typescript-eslint/no-empty-function": [
31-
"warn",
25+
'plugins': ['import', '@typescript-eslint', 'prettier'],
26+
'root': true,
27+
'rules': {
28+
'@typescript-eslint/explicit-module-boundary-types': 'off',
29+
'@typescript-eslint/indent': 'off',
30+
'@typescript-eslint/no-empty-function': [
31+
'warn',
3232
{
33-
"allow": ["constructors"]
33+
'allow': ['constructors']
3434
}
3535
],
36-
"@typescript-eslint/no-empty-interface": "error",
37-
"@typescript-eslint/no-explicit-any": "off",
38-
"@typescript-eslint/no-floating-promises": "error",
39-
"@typescript-eslint/no-inferrable-types": [
40-
"warn",
36+
'@typescript-eslint/no-empty-interface': 'error',
37+
'@typescript-eslint/no-explicit-any': 'off',
38+
'@typescript-eslint/no-floating-promises': 'error',
39+
'@typescript-eslint/no-inferrable-types': [
40+
'warn',
4141
{
42-
"ignoreParameters": true,
43-
"ignoreProperties": true
42+
'ignoreParameters': true,
43+
'ignoreProperties': true
4444
}
4545
],
46-
"@typescript-eslint/no-namespace": "off",
47-
"@typescript-eslint/no-non-null-assertion": "off",
48-
"@typescript-eslint/no-unused-vars": [
49-
"warn",
46+
'@typescript-eslint/no-namespace': 'off',
47+
'@typescript-eslint/no-non-null-assertion': 'off',
48+
'@typescript-eslint/no-unused-vars': [
49+
'warn',
5050
{
51-
"args": "after-used",
52-
"argsIgnorePattern": "^_",
53-
"ignoreRestSiblings": true,
54-
"varsIgnorePattern": "^_$"
51+
'args': 'after-used',
52+
'argsIgnorePattern': '^_',
53+
'ignoreRestSiblings': true,
54+
'varsIgnorePattern': '^_$'
5555
}
5656
],
57-
"@typescript-eslint/no-use-before-define": "error",
58-
"@typescript-eslint/semi": "error",
59-
"@typescript-eslint/unbound-method": "off",
60-
"arrow-parens": ["error", "as-needed"],
61-
"brace-style": [
62-
"warn",
63-
"1tbs",
57+
'@typescript-eslint/no-use-before-define': 'error',
58+
'@typescript-eslint/semi': 'error',
59+
'@typescript-eslint/unbound-method': 'off',
60+
'arrow-parens': ['error', 'as-needed'],
61+
'brace-style': [
62+
'warn',
63+
'1tbs',
6464
{
65-
"allowSingleLine": true
65+
'allowSingleLine': true
6666
}
6767
],
68-
"comma-dangle": ["error", "only-multiline"],
69-
"complexity": "off",
70-
"curly": "error",
71-
"dot-notation": "error",
72-
"eqeqeq": ["error", "smart"],
73-
"eol-last": "error",
74-
"import/no-dynamic-require": "error",
75-
"import/no-default-export": "error",
76-
"import/no-duplicates": "error",
77-
"import/no-self-import": "error",
78-
"import/no-unresolved": [
79-
"warn",
68+
'comma-dangle': ['error', 'only-multiline'],
69+
'complexity': 'off',
70+
'curly': 'error',
71+
'dot-notation': 'error',
72+
'eqeqeq': ['error', 'smart'],
73+
'eol-last': 'error',
74+
'import/no-dynamic-require': 'error',
75+
'import/no-default-export': 'error',
76+
'import/no-duplicates': 'error',
77+
'import/no-self-import': 'error',
78+
'import/no-unresolved': [
79+
'warn',
8080
{
81-
"ignore": ["vscode"]
81+
'ignore': ['vscode']
8282
}
8383
],
84-
"max-classes-per-file": ["error", 1],
85-
"max-len": [
86-
"error",
84+
'max-classes-per-file': ['error', 1],
85+
'max-len': [
86+
'error',
8787
{
88-
"code": 120
88+
'code': 120
8989
}
9090
],
91-
"no-bitwise": "error",
92-
"no-console": "off",
93-
"no-duplicate-imports": "error",
94-
"no-inner-declarations": "off",
95-
"no-invalid-this": "error",
96-
"no-trailing-spaces": "error",
97-
"no-var": "error",
98-
"prefer-arrow-callback": "error",
99-
"prefer-const": "error",
100-
"prefer-numeric-literals": "error",
101-
"prefer-object-spread": "error",
102-
"prefer-rest-params": "error",
103-
"prefer-spread": "error",
104-
"prefer-template": "error",
105-
"prettier/prettier": "error",
106-
"quotes": [
107-
"error",
108-
"single",
91+
'no-bitwise': 'error',
92+
'no-console': 'off',
93+
'no-duplicate-imports': 'error',
94+
'no-inner-declarations': 'off',
95+
'no-invalid-this': 'error',
96+
'no-trailing-spaces': 'error',
97+
'no-var': 'error',
98+
'prefer-arrow-callback': 'error',
99+
'prefer-const': 'error',
100+
'prefer-numeric-literals': 'error',
101+
'prefer-object-spread': 'error',
102+
'prefer-rest-params': 'error',
103+
'prefer-spread': 'error',
104+
'prefer-template': 'error',
105+
'prettier/prettier': 'error',
106+
'quotes': [
107+
'error',
108+
'single',
109109
{
110-
"avoidEscape": true
110+
'avoidEscape': true
111111
}
112112
],
113-
"radix": "error",
114-
"semi": ["error", "always"],
115-
"semi-style": ["error", "last"],
116-
"spaced-comment": ["error", "always"],
117-
"space-in-parens": ["error", "never"],
118-
"sort-imports": [
119-
"error",
113+
'radix': 'error',
114+
'semi': ['error', 'always'],
115+
'semi-style': ['error', 'last'],
116+
'spaced-comment': ['error', 'always'],
117+
'space-in-parens': ['error', 'never'],
118+
'sort-imports': [
119+
'error',
120120
{
121-
"ignoreCase": true,
122-
"ignoreDeclarationSort": true,
123-
"ignoreMemberSort": false,
124-
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
121+
'ignoreCase': true,
122+
'ignoreDeclarationSort': true,
123+
'ignoreMemberSort': false,
124+
'memberSyntaxSortOrder': ['none', 'all', 'multiple', 'single']
125125
}
126126
],
127-
"yoda": "error"
127+
'yoda': 'error'
128128
}
129129
}

0 commit comments

Comments
 (0)