@cherepanov.pavel/shareable-config 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +2 -3
- package/.editorconfig-get.js +3 -3
- package/.get-all.js +16 -12
- package/.gitattributes-get.js +3 -3
- package/.gitignore-get.js +33 -30
- package/.vscode/.code-snippets-get.js +34 -31
- package/.vscode/extensions.json +17 -17
- package/.vscode/extensions.json-get.js +25 -25
- package/.vscode/settings.json +36 -27
- package/.vscode/settings.json-get.js +25 -25
- package/env.json5.set.js +1 -1
- package/jsconfig.json +4 -7
- package/package.json +10 -1
- package/tools/eslint-config/configs/global.js +21 -18
- package/tools/eslint-config/configs/javascript.js +14 -14
- package/tools/eslint-config/configs/json.js +93 -0
- package/tools/eslint-config/configs/typescript.js +17 -17
- package/tools/eslint-config/configs/vue.js +22 -22
- package/tools/eslint-config/index.js +1 -0
- package/tools/eslint-config/rules/constants.js +10 -9
- package/tools/eslint-config/rules/javascript/index.js +2 -2
- package/tools/eslint-config/rules/javascript/possible-problems.js +76 -58
- package/tools/eslint-config/rules/javascript/suggestions.js +405 -249
- package/tools/eslint-config/rules/stylistic/jsFormatting.js +321 -167
- package/tools/eslint-config/rules/stylistic/tsFormatting.js +4 -4
- package/tools/eslint-config/rules/typescript/common.js +135 -126
- package/tools/eslint-config/rules/typescript/compatibility.js +20 -20
- package/tools/eslint-config/rules/typescript/extension.js +44 -44
- package/tools/eslint-config/rules/typescript/index.js +3 -3
- package/tools/eslint-config/rules/vue/base.js +2 -2
- package/tools/eslint-config/rules/vue/extension.js +47 -44
- package/tools/eslint-config/rules/vue/formatting.js +66 -36
- package/tools/eslint-config/rules/vue/index.js +5 -5
- package/tools/eslint-config/rules/vue/possibleProblems.js +182 -109
- package/tools/eslint-config/rules/vue/suggestions.js +82 -79
- package/tools/stylelint-config/config.js +18 -20
- package/tools/stylelint-config/rules/base.js +30 -24
- package/tools/stylelint-config/rules/conflicts.js +5 -5
- package/tools/stylelint-config/rules/order.js +38 -38
- package/tools/stylelint-config/rules/property-groups.js +392 -389
- package/tools/stylelint-config/rules/scss.js +9 -6
- package/tools/stylelint-config/rules/stylistic.js +110 -109
- package/utils/communication.js +26 -26
- package/utils/copy-with-override.js +35 -33
- package/utils/env.js +4 -4
- package/utils/file-header.js +9 -9
- package/utils/file.js +46 -46
- package/utils/merge.js +161 -155
|
@@ -1,130 +1,139 @@
|
|
|
1
1
|
import { ERROR, OFF, WARN } from '../severity.js';
|
|
2
2
|
|
|
3
3
|
export const commonRules = {
|
|
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
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
4
|
+
'@typescript-eslint/adjacent-overload-signatures': ERROR,
|
|
5
|
+
'@typescript-eslint/array-type': ERROR,
|
|
6
|
+
'@typescript-eslint/await-thenable': ERROR,
|
|
7
|
+
'@typescript-eslint/ban-ts-comment': ERROR,
|
|
8
|
+
'@typescript-eslint/ban-tslint-comment': ERROR,
|
|
9
|
+
// '@typescript-eslint/ban-types': ERROR,
|
|
10
|
+
'@typescript-eslint/class-literal-property-style': ERROR,
|
|
11
|
+
'@typescript-eslint/consistent-generic-constructors': ERROR,
|
|
12
|
+
'@typescript-eslint/consistent-indexed-object-style': ERROR,
|
|
13
|
+
'@typescript-eslint/consistent-type-assertions': ERROR,
|
|
14
|
+
'@typescript-eslint/consistent-type-definitions': ERROR,
|
|
15
|
+
'@typescript-eslint/consistent-type-exports': ERROR,
|
|
16
|
+
'@typescript-eslint/consistent-type-imports': ERROR,
|
|
17
|
+
'@typescript-eslint/explicit-function-return-type': OFF,
|
|
18
|
+
'@typescript-eslint/explicit-member-accessibility': ERROR,
|
|
19
|
+
'@typescript-eslint/explicit-module-boundary-types': OFF,
|
|
20
|
+
// '@typescript-eslint/member-delimiter-style': ERROR,
|
|
21
|
+
'@typescript-eslint/member-ordering': ERROR,
|
|
22
|
+
'@typescript-eslint/method-signature-style': ERROR,
|
|
23
|
+
'@typescript-eslint/naming-convention': [
|
|
24
|
+
ERROR,
|
|
25
|
+
{
|
|
26
|
+
selector: 'default',
|
|
27
|
+
// UPPER_CASE for, like example, consts from env files
|
|
28
|
+
format: [
|
|
29
|
+
'camelCase',
|
|
30
|
+
'UPPER_CASE',
|
|
31
|
+
],
|
|
32
|
+
leadingUnderscore: 'forbid',
|
|
33
|
+
trailingUnderscore: 'forbid',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
selector: 'import',
|
|
37
|
+
// PascalCase for components import
|
|
38
|
+
format: [
|
|
39
|
+
'camelCase',
|
|
40
|
+
'PascalCase',
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
selector: 'variable',
|
|
45
|
+
// UPPER_CASE for, like example, consts from env files
|
|
46
|
+
format: [
|
|
47
|
+
'camelCase',
|
|
48
|
+
'UPPER_CASE',
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
selector: 'typeLike',
|
|
53
|
+
format: ['PascalCase'],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
selector: 'objectLiteralProperty',
|
|
57
|
+
// because of BE inconsistency
|
|
58
|
+
format: null,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
'@typescript-eslint/no-base-to-string': ERROR,
|
|
62
|
+
'@typescript-eslint/no-confusing-non-null-assertion': ERROR,
|
|
63
|
+
'@typescript-eslint/no-confusing-void-expression': ERROR,
|
|
64
|
+
'@typescript-eslint/no-duplicate-enum-values': ERROR,
|
|
65
|
+
'@typescript-eslint/no-duplicate-type-constituents': ERROR,
|
|
66
|
+
'@typescript-eslint/no-dynamic-delete': ERROR,
|
|
67
|
+
'@typescript-eslint/no-empty-interface': ERROR,
|
|
68
|
+
'@typescript-eslint/no-explicit-any': WARN,
|
|
69
|
+
'@typescript-eslint/no-extra-non-null-assertion': ERROR,
|
|
70
|
+
'@typescript-eslint/no-extraneous-class': ERROR,
|
|
71
|
+
'@typescript-eslint/no-floating-promises': ERROR,
|
|
72
|
+
'@typescript-eslint/no-for-in-array': ERROR,
|
|
73
|
+
'@typescript-eslint/no-import-type-side-effects': ERROR,
|
|
74
|
+
'@typescript-eslint/no-inferrable-types': ERROR,
|
|
75
|
+
'@typescript-eslint/no-invalid-void-type': ERROR,
|
|
76
|
+
'@typescript-eslint/no-meaningless-void-operator': ERROR,
|
|
77
|
+
'@typescript-eslint/no-misused-new': ERROR,
|
|
78
|
+
'@typescript-eslint/no-misused-promises': [
|
|
79
|
+
ERROR,
|
|
80
|
+
{
|
|
81
|
+
checksVoidReturn: false,
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
'@typescript-eslint/no-mixed-enums': ERROR,
|
|
85
|
+
'@typescript-eslint/no-namespace': ERROR,
|
|
86
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': ERROR,
|
|
87
|
+
'@typescript-eslint/no-non-null-asserted-optional-chain': ERROR,
|
|
88
|
+
'@typescript-eslint/no-non-null-assertion': OFF,
|
|
89
|
+
'@typescript-eslint/no-redundant-type-constituents': ERROR,
|
|
90
|
+
'@typescript-eslint/no-require-imports': ERROR,
|
|
91
|
+
'@typescript-eslint/no-this-alias': ERROR,
|
|
92
|
+
'@typescript-eslint/no-unnecessary-boolean-literal-compare': ERROR,
|
|
93
|
+
'@typescript-eslint/no-unnecessary-condition': ERROR,
|
|
94
|
+
'@typescript-eslint/no-unnecessary-qualifier': ERROR,
|
|
95
|
+
'@typescript-eslint/no-unnecessary-type-arguments': ERROR,
|
|
96
|
+
'@typescript-eslint/no-unnecessary-type-assertion': ERROR,
|
|
97
|
+
'@typescript-eslint/no-unnecessary-type-constraint': ERROR,
|
|
98
|
+
'@typescript-eslint/no-unsafe-argument': WARN,
|
|
99
|
+
'@typescript-eslint/no-unsafe-assignment': OFF,
|
|
100
|
+
'@typescript-eslint/no-unsafe-call': WARN,
|
|
101
|
+
'@typescript-eslint/no-unsafe-declaration-merging': ERROR,
|
|
102
|
+
'@typescript-eslint/no-unsafe-enum-comparison': ERROR,
|
|
103
|
+
'@typescript-eslint/no-unsafe-member-access': WARN,
|
|
104
|
+
'@typescript-eslint/no-unsafe-return': OFF,
|
|
105
|
+
'@typescript-eslint/no-useless-empty-export': ERROR,
|
|
106
|
+
'@typescript-eslint/no-var-requires': ERROR,
|
|
107
|
+
'@typescript-eslint/non-nullable-type-assertion-style': ERROR,
|
|
108
|
+
'@typescript-eslint/parameter-properties': ERROR,
|
|
109
|
+
'@typescript-eslint/prefer-as-const': ERROR,
|
|
110
|
+
'@typescript-eslint/prefer-enum-initializers': ERROR,
|
|
111
|
+
'@typescript-eslint/prefer-for-of': ERROR,
|
|
112
|
+
'@typescript-eslint/prefer-function-type': ERROR,
|
|
113
|
+
'@typescript-eslint/prefer-includes': ERROR,
|
|
114
|
+
'@typescript-eslint/prefer-literal-enum-member': ERROR,
|
|
115
|
+
'@typescript-eslint/prefer-namespace-keyword': ERROR,
|
|
116
|
+
// maybe we will enable it later, after ending discuss in ts-eslint repo
|
|
117
|
+
// https://github.com/typescript-eslint/typescript-eslint/issues?q=is%3Aissue%20state%3Aopen%20prefer-nullish-coalescing
|
|
118
|
+
'@typescript-eslint/prefer-nullish-coalescing': OFF,
|
|
119
|
+
'@typescript-eslint/prefer-optional-chain': ERROR,
|
|
120
|
+
'@typescript-eslint/prefer-readonly': ERROR,
|
|
121
|
+
'@typescript-eslint/prefer-readonly-parameter-types': OFF,
|
|
122
|
+
'@typescript-eslint/prefer-reduce-type-parameter': ERROR,
|
|
123
|
+
'@typescript-eslint/prefer-regexp-exec': ERROR,
|
|
124
|
+
'@typescript-eslint/prefer-return-this-type': ERROR,
|
|
125
|
+
'@typescript-eslint/prefer-string-starts-ends-with': ERROR,
|
|
126
|
+
'@typescript-eslint/prefer-ts-expect-error': ERROR,
|
|
127
|
+
'@typescript-eslint/promise-function-async': ERROR,
|
|
128
|
+
'@typescript-eslint/require-array-sort-compare': ERROR,
|
|
129
|
+
'@typescript-eslint/restrict-plus-operands': ERROR,
|
|
130
|
+
'@typescript-eslint/restrict-template-expressions': ERROR,
|
|
131
|
+
'@typescript-eslint/sort-type-constituents': OFF,
|
|
132
|
+
'@typescript-eslint/strict-boolean-expressions': OFF,
|
|
133
|
+
'@typescript-eslint/switch-exhaustiveness-check': OFF,
|
|
134
|
+
'@typescript-eslint/triple-slash-reference': ERROR,
|
|
135
|
+
// '@typescript-eslint/type-annotation-spacing': ERROR,
|
|
136
|
+
'@typescript-eslint/typedef': ERROR,
|
|
137
|
+
'@typescript-eslint/unbound-method': ERROR,
|
|
138
|
+
'@typescript-eslint/unified-signatures': ERROR,
|
|
130
139
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ERROR, OFF } from '../severity.js';
|
|
2
2
|
|
|
3
3
|
export const compatibilityRules = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
'constructor-super': OFF, // ts(2335) & ts(2377)
|
|
5
|
+
'getter-return': OFF, // ts(2378)
|
|
6
|
+
'no-const-assign': OFF, // ts(2588)
|
|
7
|
+
'no-dupe-args': OFF, // ts(2300)
|
|
8
|
+
'no-dupe-class-members': OFF, // ts(2393) & ts(2300)
|
|
9
|
+
'no-dupe-keys': OFF, // ts(1117)
|
|
10
|
+
'no-func-assign': OFF, // ts(2630)
|
|
11
|
+
'no-import-assign': OFF, // ts(2632) & ts(2540)
|
|
12
|
+
'no-new-symbol': OFF, // ts(7009)
|
|
13
|
+
'no-obj-calls': OFF, // ts(2349)
|
|
14
|
+
'no-redeclare': OFF, // ts(2451)
|
|
15
|
+
'no-setter-return': OFF, // ts(2408)
|
|
16
|
+
'no-this-before-super': OFF, // ts(2376) & ts(17009)
|
|
17
|
+
'no-undef': OFF, // ts(2304) & ts(2552)
|
|
18
|
+
'no-unreachable': OFF, // ts(7027)
|
|
19
|
+
'no-unsafe-negation': OFF, // ts(2365) & ts(2322) & ts(2358)
|
|
20
|
+
'no-var': ERROR, // ts transpiles let/const to var, so no need for vars anymore
|
|
21
|
+
'prefer-const': ERROR, // ts provides better types with const
|
|
22
|
+
'prefer-rest-params': ERROR, // ts provides better types with rest args over arguments
|
|
23
|
+
'prefer-spread': ERROR, // ts transpiles spread to apply, so no need for manual apply
|
|
24
24
|
};
|
|
@@ -4,49 +4,49 @@ import { suggestionRules } from '../javascript/suggestions.js';
|
|
|
4
4
|
import { possibleProblemRules } from '../javascript/possible-problems.js';
|
|
5
5
|
|
|
6
6
|
export const extensionsRules = {
|
|
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
|
-
|
|
7
|
+
'class-methods-use-this': OFF,
|
|
8
|
+
'@typescript-eslint/class-methods-use-this': suggestionRules['class-methods-use-this'],
|
|
9
|
+
'default-param-last': OFF,
|
|
10
|
+
'@typescript-eslint/default-param-last': suggestionRules['default-param-last'],
|
|
11
|
+
'dot-notation': OFF,
|
|
12
|
+
'@typescript-eslint/dot-notation': suggestionRules['dot-notation'],
|
|
13
|
+
'init-declarations': OFF,
|
|
14
|
+
'@typescript-eslint/init-declarations': suggestionRules['init-declarations'],
|
|
15
|
+
'no-array-constructor': OFF,
|
|
16
|
+
'@typescript-eslint/no-array-constructor': suggestionRules['no-array-constructor'],
|
|
17
|
+
'no-empty-function': OFF,
|
|
18
|
+
'@typescript-eslint/no-empty-function': suggestionRules['no-empty-function'],
|
|
19
|
+
'no-implied-eval': OFF,
|
|
20
|
+
'@typescript-eslint/no-implied-eval': suggestionRules['no-implied-eval'],
|
|
21
|
+
'no-invalid-this': OFF,
|
|
22
|
+
'@typescript-eslint/no-invalid-this': suggestionRules['no-invalid-this'],
|
|
23
|
+
'no-loop-func': OFF,
|
|
24
|
+
'@typescript-eslint/no-loop-func': suggestionRules['no-loop-func'],
|
|
25
|
+
'no-magic-numbers': OFF,
|
|
26
|
+
'@typescript-eslint/no-magic-numbers': suggestionRules['no-magic-numbers'],
|
|
27
|
+
'no-redeclare': OFF,
|
|
28
|
+
'@typescript-eslint/no-redeclare': suggestionRules['no-redeclare'],
|
|
29
|
+
'no-restricted-imports': OFF,
|
|
30
|
+
'@typescript-eslint/no-restricted-imports': suggestionRules['no-restricted-imports'],
|
|
31
|
+
'no-shadow': OFF,
|
|
32
|
+
'@typescript-eslint/no-shadow': suggestionRules['no-shadow'],
|
|
33
|
+
'no-throw-literal': OFF,
|
|
34
|
+
// '@typescript-eslint/no-throw-literal': suggestionRules['no-throw-literal'],
|
|
35
|
+
'no-unused-expressions': OFF,
|
|
36
|
+
'@typescript-eslint/no-unused-expressions': suggestionRules['no-unused-expressions'],
|
|
37
|
+
'no-useless-constructor': OFF,
|
|
38
|
+
'@typescript-eslint/no-useless-constructor': suggestionRules['no-useless-constructor'],
|
|
39
|
+
'require-await': OFF,
|
|
40
|
+
'@typescript-eslint/require-await': suggestionRules['require-await'],
|
|
41
|
+
'no-return-await': OFF,
|
|
42
|
+
'@typescript-eslint/return-await': suggestionRules['no-return-await'],
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
'no-dupe-class-members': OFF,
|
|
45
|
+
'@typescript-eslint/no-dupe-class-members': possibleProblemRules['no-dupe-class-members'],
|
|
46
|
+
'no-loss-of-precision': OFF,
|
|
47
|
+
'@typescript-eslint/no-loss-of-precision': possibleProblemRules['no-loss-of-precision'],
|
|
48
|
+
'no-unused-vars': OFF,
|
|
49
|
+
'@typescript-eslint/no-unused-vars': possibleProblemRules['no-unused-vars'],
|
|
50
|
+
'no-use-before-define': OFF,
|
|
51
|
+
'@typescript-eslint/no-use-before-define': possibleProblemRules['no-use-before-define'],
|
|
52
52
|
};
|
|
@@ -7,52 +7,55 @@ import { suggestionRules } from '../javascript/suggestions.js';
|
|
|
7
7
|
import { jsFormatting } from '../stylistic/index.js';
|
|
8
8
|
|
|
9
9
|
export const extensionRules = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
'vue/no-constant-condition': possibleProblemRules['no-constant-condition'],
|
|
11
|
+
'vue/no-empty-pattern': possibleProblemRules['no-empty-pattern'],
|
|
12
|
+
'vue/no-irregular-whitespace': possibleProblemRules['no-irregular-whitespace'],
|
|
13
|
+
'vue/no-loss-of-precision': possibleProblemRules['no-loss-of-precision'],
|
|
14
|
+
'vue/no-sparse-arrays': possibleProblemRules['no-sparse-arrays'],
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
'vue/camelcase': suggestionRules.camelcase,
|
|
17
|
+
'vue/dot-notation': suggestionRules['dot-notation'],
|
|
18
|
+
'vue/eqeqeq': suggestionRules.eqeqeq,
|
|
19
|
+
'vue/no-console': suggestionRules['no-console'],
|
|
20
|
+
'vue/no-restricted-syntax': suggestionRules['no-restricted-syntax'],
|
|
21
|
+
'vue/no-useless-concat': suggestionRules['no-useless-concat'],
|
|
22
|
+
'vue/object-shorthand': suggestionRules['object-shorthand'],
|
|
23
|
+
'vue/prefer-template': suggestionRules['prefer-template'],
|
|
24
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
|
-
|
|
25
|
+
'vue/array-bracket-newline': jsFormatting['@stylistic/array-bracket-newline'],
|
|
26
|
+
'vue/array-bracket-spacing': jsFormatting['@stylistic/array-bracket-spacing'],
|
|
27
|
+
'vue/array-element-newline': jsFormatting['@stylistic/array-element-newline'],
|
|
28
|
+
'vue/arrow-spacing': jsFormatting['@stylistic/arrow-spacing'],
|
|
29
|
+
'vue/block-spacing': jsFormatting['@stylistic/block-spacing'],
|
|
30
|
+
'vue/brace-style': jsFormatting['@stylistic/brace-style'],
|
|
31
|
+
'vue/comma-dangle': jsFormatting['@stylistic/comma-dangle'],
|
|
32
|
+
'vue/comma-spacing': jsFormatting['@stylistic/comma-spacing'],
|
|
33
|
+
'vue/comma-style': jsFormatting['@stylistic/comma-style'],
|
|
34
|
+
'vue/dot-location': jsFormatting['@stylistic/dot-location'],
|
|
35
|
+
'vue/func-call-spacing': jsFormatting['@stylistic/function-call-spacing'],
|
|
36
|
+
'vue/key-spacing': jsFormatting['@stylistic/key-spacing'],
|
|
37
|
+
'vue/keyword-spacing': jsFormatting['@stylistic/keyword-spacing'],
|
|
38
|
+
'vue/multiline-ternary': jsFormatting['@stylistic/multiline-ternary'],
|
|
39
|
+
'vue/no-extra-parens': jsFormatting['@stylistic/no-extra-parens'],
|
|
40
|
+
'vue/object-curly-newline': jsFormatting['@stylistic/object-curly-newline'],
|
|
41
|
+
'vue/object-curly-spacing': jsFormatting['@stylistic/object-curly-spacing'],
|
|
42
|
+
'vue/object-property-newline': jsFormatting['@stylistic/object-property-newline'],
|
|
43
|
+
'vue/operator-linebreak': jsFormatting['@stylistic/operator-linebreak'],
|
|
44
|
+
'vue/quote-props': jsFormatting['@stylistic/quote-props'],
|
|
45
|
+
'vue/space-in-parens': jsFormatting['@stylistic/space-in-parens'],
|
|
46
|
+
'vue/space-infix-ops': jsFormatting['@stylistic/space-infix-ops'],
|
|
47
|
+
'vue/space-unary-ops': jsFormatting['@stylistic/space-unary-ops'],
|
|
48
|
+
'vue/template-curly-spacing': jsFormatting['@stylistic/template-curly-spacing'],
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
'@stylistic/max-len': [OFF],
|
|
51
|
+
'max-len': [OFF],
|
|
52
|
+
'vue/max-len': [
|
|
53
|
+
ERROR,
|
|
54
|
+
{
|
|
55
|
+
...MAX_LEN,
|
|
54
56
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
ignoreHTMLAttributeValues: true,
|
|
58
|
+
ignoreHTMLTextContents: true,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
58
61
|
};
|