@cherepanov.pavel/shareable-config 1.0.13 → 1.0.14

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.
Files changed (47) hide show
  1. package/.editorconfig-get.js +6 -6
  2. package/.get-all.js +12 -12
  3. package/.gitattributes-get.js +6 -6
  4. package/.gitignore-get.js +12 -12
  5. package/.vscode/.code-snippets-get.js +14 -14
  6. package/.vscode/extensions.json-get.js +12 -12
  7. package/.vscode/settings.json-get.js +12 -12
  8. package/env.json5.set.js +2 -2
  9. package/package.json +1 -1
  10. package/tools/eslint-config/configs/global.js +9 -9
  11. package/tools/eslint-config/configs/javascript.js +7 -7
  12. package/tools/eslint-config/configs/json.js +57 -57
  13. package/tools/eslint-config/configs/typescript.js +9 -9
  14. package/tools/eslint-config/configs/vue.js +16 -16
  15. package/tools/eslint-config/index.js +5 -5
  16. package/tools/eslint-config/rules/constants.js +1 -1
  17. package/tools/eslint-config/rules/javascript/index.js +2 -2
  18. package/tools/eslint-config/rules/javascript/possible-problems.js +60 -60
  19. package/tools/eslint-config/rules/javascript/suggestions.js +206 -207
  20. package/tools/eslint-config/rules/severity.js +3 -3
  21. package/tools/eslint-config/rules/stylistic/index.js +2 -2
  22. package/tools/eslint-config/rules/stylistic/jsFormatting.js +113 -114
  23. package/tools/eslint-config/rules/stylistic/tsFormatting.js +5 -5
  24. package/tools/eslint-config/rules/typescript/common.js +103 -103
  25. package/tools/eslint-config/rules/typescript/compatibility.js +21 -21
  26. package/tools/eslint-config/rules/typescript/extension.js +46 -46
  27. package/tools/eslint-config/rules/typescript/index.js +3 -3
  28. package/tools/eslint-config/rules/vue/base.js +3 -3
  29. package/tools/eslint-config/rules/vue/extension.js +46 -45
  30. package/tools/eslint-config/rules/vue/formatting.js +33 -37
  31. package/tools/eslint-config/rules/vue/index.js +5 -5
  32. package/tools/eslint-config/rules/vue/possibleProblems.js +123 -123
  33. package/tools/eslint-config/rules/vue/suggestions.js +76 -76
  34. package/tools/stylelint-config/config.js +11 -11
  35. package/tools/stylelint-config/rules/base.js +19 -19
  36. package/tools/stylelint-config/rules/conflicts.js +2 -2
  37. package/tools/stylelint-config/rules/order.js +19 -19
  38. package/tools/stylelint-config/rules/property-groups.js +337 -337
  39. package/tools/stylelint-config/rules/scss.js +4 -4
  40. package/tools/stylelint-config/rules/stylistic.js +82 -82
  41. package/utils/communication.js +3 -3
  42. package/utils/copy-with-override.js +9 -9
  43. package/utils/env.js +6 -6
  44. package/utils/file-header.js +8 -8
  45. package/utils/file.js +12 -12
  46. package/utils/lint.js +2 -2
  47. package/utils/merge.js +11 -11
@@ -1,71 +1,67 @@
1
- import { INDENT_SIZE } from '../constants.js';
2
- import { ERROR, OFF } from '../severity.js';
1
+ import { INDENT_SIZE } from "../constants.js";
2
+ import { ERROR, OFF } from "../severity.js";
3
3
 
4
4
  export const formattingRules = {
5
- 'vue/block-tag-newline': [
5
+ "vue/block-tag-newline": [
6
6
  ERROR,
7
7
  {
8
- singleline: 'always',
9
- multiline: 'always',
8
+ singleline: "always",
9
+ multiline: "always",
10
10
  maxEmptyLines: 0,
11
11
  },
12
12
  ],
13
13
  // https://github.com/vuejs/eslint-plugin-vue/issues/2380
14
- 'vue/define-macros-order': [OFF],
15
- 'vue/first-attribute-linebreak': [
14
+ "vue/define-macros-order": [OFF],
15
+ "vue/first-attribute-linebreak": [
16
16
  ERROR,
17
17
  {
18
- singleline: 'below',
19
- multiline: 'below',
18
+ singleline: "below",
19
+ multiline: "below",
20
20
  },
21
21
  ],
22
- 'vue/html-closing-bracket-newline': [ERROR],
23
- 'vue/html-closing-bracket-spacing': [ERROR],
24
- 'vue/html-comment-content-newline': [OFF],
25
- 'vue/html-comment-content-spacing': [ERROR],
26
- 'vue/html-comment-indent': [OFF],
27
- 'vue/html-indent': [
22
+ "vue/html-closing-bracket-newline": [ERROR],
23
+ "vue/html-closing-bracket-spacing": [ERROR],
24
+ "vue/html-comment-content-newline": [OFF],
25
+ "vue/html-comment-content-spacing": [ERROR],
26
+ "vue/html-comment-indent": [OFF],
27
+ "vue/html-indent": [
28
28
  ERROR,
29
29
  INDENT_SIZE,
30
30
  ],
31
- 'vue/html-quotes': [
32
- ERROR,
33
- 'double',
34
- ],
35
- 'vue/html-self-closing': [ERROR],
36
- 'vue/max-attributes-per-line': [
31
+ "vue/html-self-closing": [ERROR],
32
+ "vue/max-attributes-per-line": [
37
33
  ERROR,
38
34
  {
39
35
  singleline: 1,
40
36
  multiline: 1,
41
37
  },
42
38
  ],
43
- 'vue/multiline-html-element-content-newline': [
39
+ "vue/multiline-html-element-content-newline": [
44
40
  ERROR,
45
41
  {
46
- ignores: ['pre'],
42
+ ignores: ["pre"],
47
43
  },
48
44
  ],
49
- 'vue/mustache-interpolation-spacing': [
45
+ "vue/mustache-interpolation-spacing": [
50
46
  ERROR,
51
- 'always',
47
+ "always",
52
48
  ],
53
- 'vue/new-line-between-multi-line-property': [OFF],
54
- 'vue/no-multi-spaces': [ERROR],
55
- 'vue/no-spaces-around-equal-signs-in-attribute': [ERROR],
56
- 'vue/padding-line-between-blocks': [
49
+ "vue/new-line-between-multi-line-property": [OFF],
50
+ "vue/no-multi-spaces": [ERROR],
51
+ "vue/no-spaces-around-equal-signs-in-attribute": [ERROR],
52
+ "vue/padding-line-between-blocks": [
57
53
  ERROR,
58
- 'always',
54
+ "always",
59
55
  ],
60
- 'vue/padding-line-between-tags': [OFF],
61
- 'vue/padding-lines-in-component-definition': [OFF],
62
- 'vue/script-indent': [
63
- 'error',
56
+ "vue/padding-line-between-tags": [OFF],
57
+ "vue/padding-lines-in-component-definition": [OFF],
58
+ "vue/script-indent": [
59
+ "error",
64
60
  INDENT_SIZE,
65
61
  ],
66
- 'vue/singleline-html-element-content-newline': [OFF],
67
- 'vue/v-for-delimiter-style': [
62
+ "vue/singleline-html-element-content-newline": [OFF],
63
+ "vue/v-for-delimiter-style": [
68
64
  ERROR,
69
- 'in',
65
+ "in",
70
66
  ],
71
67
  };
@@ -1,8 +1,8 @@
1
- import { baseRules } from './base.js';
2
- import { extensionRules } from './extension.js';
3
- import { possibleProblemRules } from './possibleProblems.js';
4
- import { suggestionRules } from './suggestions.js';
5
- import { formattingRules } from './formatting.js';
1
+ import { baseRules } from "./base.js";
2
+ import { extensionRules } from "./extension.js";
3
+ import { possibleProblemRules } from "./possibleProblems.js";
4
+ import { suggestionRules } from "./suggestions.js";
5
+ import { formattingRules } from "./formatting.js";
6
6
 
7
7
  export const vueRules = {
8
8
  ...baseRules,
@@ -1,186 +1,186 @@
1
- import { ERROR, OFF, WARN } from '../severity.js';
1
+ import { ERROR, OFF, WARN } from "../severity.js";
2
2
 
3
3
  export const possibleProblemRules = {
4
- 'vue/attribute-hyphenation': [
4
+ "vue/attribute-hyphenation": [
5
5
  ERROR,
6
- 'never',
6
+ "never",
7
7
  ],
8
- 'vue/attributes-order': [ERROR],
9
- 'vue/block-lang': [OFF],
10
- 'vue/block-order': [
8
+ "vue/attributes-order": [ERROR],
9
+ "vue/block-lang": [OFF],
10
+ "vue/block-order": [
11
11
  ERROR,
12
12
  {
13
13
  order: [
14
- 'script',
15
- 'template',
16
- 'style',
14
+ "script",
15
+ "template",
16
+ "style",
17
17
  ],
18
18
  },
19
19
  ],
20
- 'vue/component-api-style': [
20
+ "vue/component-api-style": [
21
21
  ERROR,
22
- ['script-setup'],
22
+ ["script-setup"],
23
23
  ],
24
- 'vue/component-definition-name-casing': [
24
+ "vue/component-definition-name-casing": [
25
25
  ERROR,
26
- 'PascalCase',
26
+ "PascalCase",
27
27
  ],
28
- 'vue/component-name-in-template-casing': [
28
+ "vue/component-name-in-template-casing": [
29
29
  ERROR,
30
- 'PascalCase',
30
+ "PascalCase",
31
31
  {
32
32
  registeredComponentsOnly: false,
33
33
  ignores: [],
34
34
  },
35
35
  ],
36
- 'vue/component-options-name-casing': [
36
+ "vue/component-options-name-casing": [
37
37
  ERROR,
38
- 'PascalCase',
38
+ "PascalCase",
39
39
  ],
40
- 'vue/custom-event-name-casing': [
40
+ "vue/custom-event-name-casing": [
41
41
  ERROR,
42
- 'camelCase',
43
- { ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+((\\d)|([A-Z0-9][a-z0-9]+))*([A-Z])?$/u'] },
42
+ "camelCase",
43
+ { ignores: ["/^[a-z]+(?:-[a-z]+)*:[a-z]+((\\d)|([A-Z0-9][a-z0-9]+))*([A-Z])?$/u"] },
44
44
  ],
45
- 'vue/define-emits-declaration': [
45
+ "vue/define-emits-declaration": [
46
46
  ERROR,
47
- 'type-based',
47
+ "type-based",
48
48
  ],
49
- 'vue/define-props-declaration': [
49
+ "vue/define-props-declaration": [
50
50
  ERROR,
51
- 'type-based',
51
+ "type-based",
52
52
  ],
53
- 'vue/html-button-has-type': [ERROR],
54
- 'vue/html-end-tags': [ERROR],
55
- 'vue/match-component-file-name': [
53
+ "vue/html-button-has-type": [ERROR],
54
+ "vue/html-end-tags": [ERROR],
55
+ "vue/match-component-file-name": [
56
56
  ERROR,
57
57
  {
58
- extensions: ['vue'],
58
+ extensions: ["vue"],
59
59
  shouldMatchCase: true,
60
60
  },
61
61
  ],
62
- 'vue/multi-word-component-names': [ERROR],
63
- 'vue/next-tick-style': [
62
+ "vue/multi-word-component-names": [ERROR],
63
+ "vue/next-tick-style": [
64
64
  ERROR,
65
- 'promise',
65
+ "promise",
66
66
  ],
67
- 'vue/no-bare-strings-in-template': [OFF],
68
- 'vue/no-boolean-default': [
67
+ "vue/no-bare-strings-in-template": [OFF],
68
+ "vue/no-boolean-default": [
69
69
  ERROR,
70
- 'default-false',
70
+ "default-false",
71
71
  ],
72
- 'vue/no-deprecated-scope-attribute': [ERROR],
73
- 'vue/no-deprecated-slot-attribute': [ERROR],
74
- 'vue/no-deprecated-slot-scope-attribute': [ERROR],
75
- 'vue/no-deprecated-v-is': [ERROR],
76
- 'vue/no-duplicate-attr-inheritance': [ERROR],
77
- 'vue/no-empty-component-block': [OFF],
78
- 'vue/no-lifecycle-after-await': [ERROR],
79
- 'vue/no-multiple-objects-in-class': [ERROR],
80
- 'vue/no-mutating-props': [ERROR],
81
- 'vue/no-potential-component-option-typo': [ERROR],
82
- 'vue/no-ref-as-operand': [ERROR],
83
- 'vue/no-reserved-component-names': [
72
+ "vue/no-deprecated-scope-attribute": [ERROR],
73
+ "vue/no-deprecated-slot-attribute": [ERROR],
74
+ "vue/no-deprecated-slot-scope-attribute": [ERROR],
75
+ "vue/no-deprecated-v-is": [ERROR],
76
+ "vue/no-duplicate-attr-inheritance": [ERROR],
77
+ "vue/no-empty-component-block": [OFF],
78
+ "vue/no-lifecycle-after-await": [ERROR],
79
+ "vue/no-multiple-objects-in-class": [ERROR],
80
+ "vue/no-mutating-props": [ERROR],
81
+ "vue/no-potential-component-option-typo": [ERROR],
82
+ "vue/no-ref-as-operand": [ERROR],
83
+ "vue/no-reserved-component-names": [
84
84
  ERROR,
85
85
  {
86
86
  disallowVueBuiltInComponents: true,
87
87
  disallowVue3BuiltInComponents: true,
88
88
  },
89
89
  ],
90
- 'vue/no-reserved-keys': [ERROR],
91
- 'vue/no-restricted-block': [OFF],
92
- 'vue/no-restricted-call-after-await': [OFF],
93
- 'vue/no-restricted-component-names': [OFF],
94
- 'vue/no-restricted-component-options': [OFF],
95
- 'vue/no-restricted-custom-event': [OFF],
96
- 'vue/no-restricted-html-elements': [OFF],
97
- 'vue/no-restricted-props': [OFF],
98
- 'vue/no-restricted-static-attribute': [OFF],
99
- 'vue/no-restricted-v-bind': [OFF],
100
- 'vue/no-root-v-if': [ERROR],
101
- 'vue/no-setup-props-reactivity-loss': [OFF],
102
- 'vue/no-static-inline-styles': [WARN],
103
- 'vue/no-template-shadow': [OFF],
90
+ "vue/no-reserved-keys": [ERROR],
91
+ "vue/no-restricted-block": [OFF],
92
+ "vue/no-restricted-call-after-await": [OFF],
93
+ "vue/no-restricted-component-names": [OFF],
94
+ "vue/no-restricted-component-options": [OFF],
95
+ "vue/no-restricted-custom-event": [OFF],
96
+ "vue/no-restricted-html-elements": [OFF],
97
+ "vue/no-restricted-props": [OFF],
98
+ "vue/no-restricted-static-attribute": [OFF],
99
+ "vue/no-restricted-v-bind": [OFF],
100
+ "vue/no-root-v-if": [ERROR],
101
+ "vue/no-setup-props-reactivity-loss": [OFF],
102
+ "vue/no-static-inline-styles": [WARN],
103
+ "vue/no-template-shadow": [OFF],
104
104
  // выключено в общих конфигах, может быть включено в вашем репозитории если есть необходимость.
105
- 'vue/no-undef-components': [OFF],
106
- 'vue/no-undef-properties': [ERROR],
107
- 'vue/no-unsupported-features': [
105
+ "vue/no-undef-components": [OFF],
106
+ "vue/no-undef-properties": [ERROR],
107
+ "vue/no-unsupported-features": [
108
108
  ERROR,
109
109
  {
110
- version: '^3.4.27',
110
+ version: "^3.4.27",
111
111
  ignores: [],
112
112
  },
113
113
  ],
114
- 'vue/no-unused-components': [ERROR],
115
- 'vue/no-unused-emit-declarations': [ERROR],
116
- 'vue/no-unused-properties': [
114
+ "vue/no-unused-components": [ERROR],
115
+ "vue/no-unused-emit-declarations": [ERROR],
116
+ "vue/no-unused-properties": [
117
117
  ERROR,
118
118
  {
119
119
  groups: [
120
- 'props',
121
- 'setup',
120
+ "props",
121
+ "setup",
122
122
  ],
123
123
  deepData: true,
124
124
  ignorePublicMembers: true,
125
125
  },
126
126
  ],
127
- 'vue/no-unused-refs': [ERROR],
128
- 'vue/no-unused-vars': [ERROR],
129
- 'vue/no-use-v-else-with-v-for': [ERROR],
130
- 'vue/no-use-v-if-with-v-for': [ERROR],
131
- 'vue/no-useless-mustaches': [ERROR],
132
- 'vue/no-useless-v-bind': [ERROR],
133
- 'vue/no-v-html': [ERROR],
134
- 'vue/no-v-text': [ERROR],
135
- 'vue/no-watch-after-await': [ERROR],
136
- 'vue/one-component-per-file': [ERROR],
137
- 'vue/order-in-components': [ERROR],
138
- 'vue/prefer-define-options': [ERROR],
139
- 'vue/prefer-import-from-vue': [ERROR],
140
- 'vue/prefer-separate-static-class': [ERROR],
141
- 'vue/prefer-true-attribute-shorthand': [
142
- ERROR,
143
- 'always',
144
- ],
145
- 'vue/prop-name-casing': [
146
- ERROR,
147
- 'camelCase',
148
- ],
149
- 'vue/require-default-prop': [OFF],
150
- 'vue/require-direct-export': [ERROR],
151
- 'vue/require-emit-validator': [ERROR],
152
- 'vue/require-explicit-emits': [ERROR],
153
- 'vue/require-expose': [ERROR],
154
- 'vue/require-macro-variable-name': [ERROR],
155
- 'vue/require-name-property': [ERROR],
156
- 'vue/require-prop-comment': [OFF],
157
- 'vue/require-prop-type-constructor': [ERROR],
158
- 'vue/require-prop-types': [ERROR],
159
- 'vue/require-typed-object-prop': [ERROR],
160
- 'vue/require-typed-ref': [ERROR],
161
- 'vue/require-valid-default-prop': [ERROR],
162
- 'vue/sort-keys': [OFF],
163
- 'vue/static-class-names-order': [OFF],
164
- 'vue/this-in-template': [
165
- ERROR,
166
- 'never',
167
- ],
168
- 'vue/use-v-on-exact': [ERROR],
169
- 'vue/v-bind-style': [
170
- ERROR,
171
- 'shorthand',
172
- ],
173
- 'vue/v-on-event-hyphenation': [
174
- ERROR,
175
- 'never',
127
+ "vue/no-unused-refs": [ERROR],
128
+ "vue/no-unused-vars": [ERROR],
129
+ "vue/no-use-v-else-with-v-for": [ERROR],
130
+ "vue/no-use-v-if-with-v-for": [ERROR],
131
+ "vue/no-useless-mustaches": [ERROR],
132
+ "vue/no-useless-v-bind": [ERROR],
133
+ "vue/no-v-html": [ERROR],
134
+ "vue/no-v-text": [ERROR],
135
+ "vue/no-watch-after-await": [ERROR],
136
+ "vue/one-component-per-file": [ERROR],
137
+ "vue/order-in-components": [ERROR],
138
+ "vue/prefer-define-options": [ERROR],
139
+ "vue/prefer-import-from-vue": [ERROR],
140
+ "vue/prefer-separate-static-class": [ERROR],
141
+ "vue/prefer-true-attribute-shorthand": [
142
+ ERROR,
143
+ "always",
144
+ ],
145
+ "vue/prop-name-casing": [
146
+ ERROR,
147
+ "camelCase",
148
+ ],
149
+ "vue/require-default-prop": [OFF],
150
+ "vue/require-direct-export": [ERROR],
151
+ "vue/require-emit-validator": [ERROR],
152
+ "vue/require-explicit-emits": [ERROR],
153
+ "vue/require-expose": [ERROR],
154
+ "vue/require-macro-variable-name": [ERROR],
155
+ "vue/require-name-property": [ERROR],
156
+ "vue/require-prop-comment": [OFF],
157
+ "vue/require-prop-type-constructor": [ERROR],
158
+ "vue/require-prop-types": [ERROR],
159
+ "vue/require-typed-object-prop": [ERROR],
160
+ "vue/require-typed-ref": [ERROR],
161
+ "vue/require-valid-default-prop": [ERROR],
162
+ "vue/sort-keys": [OFF],
163
+ "vue/static-class-names-order": [OFF],
164
+ "vue/this-in-template": [
165
+ ERROR,
166
+ "never",
167
+ ],
168
+ "vue/use-v-on-exact": [ERROR],
169
+ "vue/v-bind-style": [
170
+ ERROR,
171
+ "shorthand",
172
+ ],
173
+ "vue/v-on-event-hyphenation": [
174
+ ERROR,
175
+ "never",
176
176
  { autofix: true },
177
177
  ],
178
178
  // https://github.com/vuejs/eslint-plugin-vue/issues/2571
179
- 'vue/v-on-handler-style': [OFF],
180
- 'vue/v-on-style': [
179
+ "vue/v-on-handler-style": [OFF],
180
+ "vue/v-on-style": [
181
181
  ERROR,
182
- 'shorthand',
182
+ "shorthand",
183
183
  ],
184
- 'vue/v-slot-style': [ERROR],
185
- 'vue/valid-define-options': [ERROR],
184
+ "vue/v-slot-style": [ERROR],
185
+ "vue/valid-define-options": [ERROR],
186
186
  };
@@ -1,87 +1,87 @@
1
- import { possibleProblemRules } from '../javascript/possible-problems.js';
2
- import { ERROR, OFF } from '../severity.js';
1
+ import { possibleProblemRules } from "../javascript/possible-problems.js";
2
+ import { ERROR, OFF } from "../severity.js";
3
3
 
4
4
  export const suggestionRules = {
5
- 'vue/match-component-import-name': [ERROR],
5
+ "vue/match-component-import-name": [ERROR],
6
6
  // 'vue/max-lines-per-block': [WARN, {
7
7
  // template: 120,
8
8
  // script: 120,
9
9
  // style: 120,
10
10
  // skipBlankLines: true,
11
11
  // }],
12
- 'vue/no-arrow-functions-in-watch': [ERROR],
13
- 'vue/no-async-in-computed-properties': [ERROR],
14
- 'vue/no-child-content': [ERROR],
15
- 'vue/no-computed-properties-in-data': [ERROR],
16
- 'vue/no-deprecated-data-object-declaration': [ERROR],
17
- 'vue/no-deprecated-destroyed-lifecycle': [ERROR],
18
- 'vue/no-deprecated-dollar-listeners-api': [ERROR],
19
- 'vue/no-deprecated-dollar-scopedslots-api': [ERROR],
20
- 'vue/no-deprecated-events-api': [ERROR],
21
- 'vue/no-deprecated-filter': [ERROR],
22
- 'vue/no-deprecated-functional-template': [ERROR],
23
- 'vue/no-deprecated-html-element-is': [ERROR],
24
- 'vue/no-deprecated-inline-template': [ERROR],
25
- 'vue/no-deprecated-model-definition': [ERROR],
26
- 'vue/no-deprecated-props-default-this': [ERROR],
27
- 'vue/no-deprecated-router-link-tag-prop': [
12
+ "vue/no-arrow-functions-in-watch": [ERROR],
13
+ "vue/no-async-in-computed-properties": [ERROR],
14
+ "vue/no-child-content": [ERROR],
15
+ "vue/no-computed-properties-in-data": [ERROR],
16
+ "vue/no-deprecated-data-object-declaration": [ERROR],
17
+ "vue/no-deprecated-destroyed-lifecycle": [ERROR],
18
+ "vue/no-deprecated-dollar-listeners-api": [ERROR],
19
+ "vue/no-deprecated-dollar-scopedslots-api": [ERROR],
20
+ "vue/no-deprecated-events-api": [ERROR],
21
+ "vue/no-deprecated-filter": [ERROR],
22
+ "vue/no-deprecated-functional-template": [ERROR],
23
+ "vue/no-deprecated-html-element-is": [ERROR],
24
+ "vue/no-deprecated-inline-template": [ERROR],
25
+ "vue/no-deprecated-model-definition": [ERROR],
26
+ "vue/no-deprecated-props-default-this": [ERROR],
27
+ "vue/no-deprecated-router-link-tag-prop": [
28
28
  ERROR,
29
- { components: ['RouterLink'] },
29
+ { components: ["RouterLink"] },
30
30
  ],
31
- 'vue/no-deprecated-v-bind-sync': [ERROR],
32
- 'vue/no-deprecated-v-on-native-modifier': [ERROR],
33
- 'vue/no-deprecated-v-on-number-modifiers': [ERROR],
34
- 'vue/no-deprecated-vue-config-keycodes': [ERROR],
35
- 'vue/no-dupe-keys': possibleProblemRules['no-dupe-keys'],
36
- 'vue/no-dupe-v-else-if': [ERROR],
37
- 'vue/no-duplicate-attributes': [ERROR],
38
- 'vue/no-export-in-script-setup': [ERROR],
39
- 'vue/no-expose-after-await': [ERROR],
40
- 'vue/no-lone-template': [ERROR],
41
- 'vue/no-multiple-slot-args': [ERROR],
42
- 'vue/no-parsing-error': [ERROR],
43
- 'vue/no-ref-object-reactivity-loss': [ERROR],
44
- 'vue/no-required-prop-with-default': [ERROR],
45
- 'vue/no-reserved-props': [ERROR],
46
- 'vue/no-restricted-class': [OFF],
47
- 'vue/no-shared-component-data': [ERROR],
48
- 'vue/no-side-effects-in-computed-properties': [ERROR],
49
- 'vue/no-template-key': [ERROR],
50
- 'vue/no-template-target-blank': [ERROR],
51
- 'vue/no-textarea-mustache': [ERROR],
52
- 'vue/no-this-in-before-route-enter': [ERROR],
53
- 'vue/no-use-computed-property-like-method': [ERROR],
54
- 'vue/no-useless-template-attributes': [ERROR],
55
- 'vue/no-v-for-template-key-on-child': [ERROR],
56
- 'vue/no-v-text-v-html-on-component': [ERROR],
57
- 'vue/prefer-prop-type-boolean-first': [ERROR],
58
- 'vue/require-component-is': [ERROR],
59
- 'vue/require-render-return': [ERROR],
60
- 'vue/require-slots-as-functions': [ERROR],
61
- 'vue/require-toggle-inside-transition': [ERROR],
62
- 'vue/require-v-for-key': [ERROR],
63
- 'vue/return-in-computed-property': [ERROR],
64
- 'vue/return-in-emits-validator': [ERROR],
65
- 'vue/v-if-else-key': [OFF],
66
- 'vue/valid-attribute-name': [ERROR],
67
- 'vue/valid-define-emits': [ERROR],
68
- 'vue/valid-define-props': [ERROR],
69
- 'vue/valid-next-tick': [ERROR],
70
- 'vue/valid-template-root': [ERROR],
71
- 'vue/valid-v-bind': [ERROR],
72
- 'vue/valid-v-cloak': [ERROR],
73
- 'vue/valid-v-else': [ERROR],
74
- 'vue/valid-v-else-if': [ERROR],
75
- 'vue/valid-v-for': [ERROR],
76
- 'vue/valid-v-html': [ERROR],
77
- 'vue/valid-v-if': [ERROR],
78
- 'vue/valid-v-is': [ERROR],
79
- 'vue/valid-v-memo': [ERROR],
80
- 'vue/valid-v-model': [ERROR],
81
- 'vue/valid-v-on': [ERROR],
82
- 'vue/valid-v-once': [ERROR],
83
- 'vue/valid-v-pre': [ERROR],
84
- 'vue/valid-v-show': [ERROR],
85
- 'vue/valid-v-slot': [ERROR],
86
- 'vue/valid-v-text': [ERROR],
31
+ "vue/no-deprecated-v-bind-sync": [ERROR],
32
+ "vue/no-deprecated-v-on-native-modifier": [ERROR],
33
+ "vue/no-deprecated-v-on-number-modifiers": [ERROR],
34
+ "vue/no-deprecated-vue-config-keycodes": [ERROR],
35
+ "vue/no-dupe-keys": possibleProblemRules["no-dupe-keys"],
36
+ "vue/no-dupe-v-else-if": [ERROR],
37
+ "vue/no-duplicate-attributes": [ERROR],
38
+ "vue/no-export-in-script-setup": [ERROR],
39
+ "vue/no-expose-after-await": [ERROR],
40
+ "vue/no-lone-template": [ERROR],
41
+ "vue/no-multiple-slot-args": [ERROR],
42
+ "vue/no-parsing-error": [ERROR],
43
+ "vue/no-ref-object-reactivity-loss": [ERROR],
44
+ "vue/no-required-prop-with-default": [ERROR],
45
+ "vue/no-reserved-props": [ERROR],
46
+ "vue/no-restricted-class": [OFF],
47
+ "vue/no-shared-component-data": [ERROR],
48
+ "vue/no-side-effects-in-computed-properties": [ERROR],
49
+ "vue/no-template-key": [ERROR],
50
+ "vue/no-template-target-blank": [ERROR],
51
+ "vue/no-textarea-mustache": [ERROR],
52
+ "vue/no-this-in-before-route-enter": [ERROR],
53
+ "vue/no-use-computed-property-like-method": [ERROR],
54
+ "vue/no-useless-template-attributes": [ERROR],
55
+ "vue/no-v-for-template-key-on-child": [ERROR],
56
+ "vue/no-v-text-v-html-on-component": [ERROR],
57
+ "vue/prefer-prop-type-boolean-first": [ERROR],
58
+ "vue/require-component-is": [ERROR],
59
+ "vue/require-render-return": [ERROR],
60
+ "vue/require-slots-as-functions": [ERROR],
61
+ "vue/require-toggle-inside-transition": [ERROR],
62
+ "vue/require-v-for-key": [ERROR],
63
+ "vue/return-in-computed-property": [ERROR],
64
+ "vue/return-in-emits-validator": [ERROR],
65
+ "vue/v-if-else-key": [OFF],
66
+ "vue/valid-attribute-name": [ERROR],
67
+ "vue/valid-define-emits": [ERROR],
68
+ "vue/valid-define-props": [ERROR],
69
+ "vue/valid-next-tick": [ERROR],
70
+ "vue/valid-template-root": [ERROR],
71
+ "vue/valid-v-bind": [ERROR],
72
+ "vue/valid-v-cloak": [ERROR],
73
+ "vue/valid-v-else": [ERROR],
74
+ "vue/valid-v-else-if": [ERROR],
75
+ "vue/valid-v-for": [ERROR],
76
+ "vue/valid-v-html": [ERROR],
77
+ "vue/valid-v-if": [ERROR],
78
+ "vue/valid-v-is": [ERROR],
79
+ "vue/valid-v-memo": [ERROR],
80
+ "vue/valid-v-model": [ERROR],
81
+ "vue/valid-v-on": [ERROR],
82
+ "vue/valid-v-once": [ERROR],
83
+ "vue/valid-v-pre": [ERROR],
84
+ "vue/valid-v-show": [ERROR],
85
+ "vue/valid-v-slot": [ERROR],
86
+ "vue/valid-v-text": [ERROR],
87
87
  };
@@ -1,5 +1,5 @@
1
- import path, { dirname } from 'node:path';
2
- import { fileURLToPath } from 'node:url';
1
+ import path, { dirname } from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
3
 
4
4
  const currentDir = dirname(fileURLToPath(import.meta.url));
5
5
  const concat = (...arrays) => {
@@ -9,19 +9,19 @@ const concat = (...arrays) => {
9
9
  export default {
10
10
  extends: concat(
11
11
  [
12
- 'stylelint-config-standard',
13
- 'stylelint-config-standard-scss',
14
- 'stylelint-config-standard-vue/scss',
12
+ "stylelint-config-standard",
13
+ "stylelint-config-standard-scss",
14
+ "stylelint-config-standard-vue/scss",
15
15
  ],
16
16
  [
17
- './rules/base.js',
18
- './rules/stylistic.js',
19
- './rules/order.js',
20
- './rules/conflicts.js',
21
- './rules/scss.js',
17
+ "./rules/base.js",
18
+ "./rules/stylistic.js",
19
+ "./rules/order.js",
20
+ "./rules/conflicts.js",
21
+ "./rules/scss.js",
22
22
  ].map((string) => {
23
23
  return path.resolve(currentDir, string);
24
24
  }),
25
25
  ),
26
- plugins: ['@stylistic/stylelint-plugin'],
26
+ plugins: ["@stylistic/stylelint-plugin"],
27
27
  };