@useinsider/eslint-config 1.9.2 → 1.10.0-beta.10

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 (143) hide show
  1. package/README.md +7 -6
  2. package/dist/base.d.ts +2 -2
  3. package/dist/configs/config/index.d.ts +1 -1
  4. package/dist/configs/javascript/index.d.ts +2 -1
  5. package/dist/configs/javascript-dom/index.d.ts +1 -1
  6. package/dist/configs/javascript-node/index.d.ts +1 -1
  7. package/dist/configs/jest/index.d.ts +1 -1
  8. package/dist/configs/jsdoc-based-ts/index.d.ts +1 -1
  9. package/dist/configs/typescript/index.d.ts +1 -1
  10. package/dist/configs/typescript-dom/index.d.ts +1 -1
  11. package/dist/configs/typescript-node/index.d.ts +2 -2
  12. package/dist/configs/vue2/index.d.ts +1 -1
  13. package/dist/configs/vue2-typescript/index.d.ts +3 -0
  14. package/dist/configs/vue3/index.d.ts +1 -1
  15. package/dist/configs/vue3-typescript/index.d.ts +1 -1
  16. package/dist/index-BTX-Xx3E.js +14 -0
  17. package/dist/index-BTX-Xx3E.js.map +1 -0
  18. package/dist/index-BYgw1jEi.js +14 -0
  19. package/dist/index-BYgw1jEi.js.map +1 -0
  20. package/dist/index-BfeyRYMe.js +17 -0
  21. package/dist/index-BfeyRYMe.js.map +1 -0
  22. package/dist/index-BhIppjjk.cjs +54 -0
  23. package/dist/index-BhIppjjk.cjs.map +1 -0
  24. package/dist/index-Bkn0-edz.js +54 -0
  25. package/dist/index-Bkn0-edz.js.map +1 -0
  26. package/dist/index-ByJGX90X.cjs +28 -0
  27. package/dist/index-ByJGX90X.cjs.map +1 -0
  28. package/dist/index-CDyyy483.js +28 -0
  29. package/dist/index-CDyyy483.js.map +1 -0
  30. package/dist/index-CR8V-t6x.js +14 -0
  31. package/dist/index-CR8V-t6x.js.map +1 -0
  32. package/dist/index-CjgvrUgK.cjs +14 -0
  33. package/dist/index-CjgvrUgK.cjs.map +1 -0
  34. package/dist/index-Cw0lWOha.cjs +14 -0
  35. package/dist/index-Cw0lWOha.cjs.map +1 -0
  36. package/dist/index-D-rYWfeI.cjs +28 -0
  37. package/dist/index-D-rYWfeI.cjs.map +1 -0
  38. package/dist/index-D4MPQx8Q.cjs +9 -0
  39. package/dist/index-D4MPQx8Q.cjs.map +1 -0
  40. package/dist/index-D84g26dl.js +44 -0
  41. package/dist/index-D84g26dl.js.map +1 -0
  42. package/dist/index-DCq2un1b.cjs +17 -0
  43. package/dist/index-DCq2un1b.cjs.map +1 -0
  44. package/dist/index-DGiWIDAp.cjs +28 -0
  45. package/dist/index-DGiWIDAp.cjs.map +1 -0
  46. package/dist/index-DIqcxV_k.js +28 -0
  47. package/dist/index-DIqcxV_k.js.map +1 -0
  48. package/dist/index-DJL4a_Kw.js +15 -0
  49. package/dist/index-DJL4a_Kw.js.map +1 -0
  50. package/dist/index-DPseTvz6.cjs +10 -0
  51. package/dist/index-DPseTvz6.cjs.map +1 -0
  52. package/dist/index-DbPDbm1S.js +10 -0
  53. package/dist/index-DbPDbm1S.js.map +1 -0
  54. package/dist/index-DePBHdMb.cjs +15 -0
  55. package/dist/index-DePBHdMb.cjs.map +1 -0
  56. package/dist/index-FNO0uAiM.js +9 -0
  57. package/dist/index-FNO0uAiM.js.map +1 -0
  58. package/dist/index-PJMgYgcV.cjs +14 -0
  59. package/dist/index-PJMgYgcV.cjs.map +1 -0
  60. package/dist/index-g7AwuujJ.js +28 -0
  61. package/dist/index-g7AwuujJ.js.map +1 -0
  62. package/dist/index-hIqcylZ1.js +11 -0
  63. package/dist/index-hIqcylZ1.js.map +1 -0
  64. package/dist/index-lL8X11Fl.cjs +44 -0
  65. package/dist/index-lL8X11Fl.cjs.map +1 -0
  66. package/dist/index-xJXN5s4U.cjs +11 -0
  67. package/dist/index-xJXN5s4U.cjs.map +1 -0
  68. package/dist/main.cjs +192 -3
  69. package/dist/main.cjs.map +1 -0
  70. package/dist/main.d.ts +3 -2
  71. package/dist/main.js +142 -164
  72. package/dist/main.js.map +1 -0
  73. package/dist/rules/core.d.ts +1 -1
  74. package/dist/rules/cspell.d.ts +1 -1
  75. package/dist/rules/importRules.d.ts +1 -1
  76. package/dist/rules/jsdoc.d.ts +1 -1
  77. package/dist/rules/stylistic.d.ts +1 -1
  78. package/dist/rules/typescript.d.ts +1 -1
  79. package/dist/rules/vue.d.ts +1 -1
  80. package/dist/rules/vue2-typescript.d.ts +2 -0
  81. package/dist/rules/vue2.d.ts +2 -2
  82. package/dist/stylistic-BzZCZ0ri.js +418 -0
  83. package/dist/stylistic-BzZCZ0ri.js.map +1 -0
  84. package/dist/stylistic-CFIZ-V78.cjs +417 -0
  85. package/dist/stylistic-CFIZ-V78.cjs.map +1 -0
  86. package/dist/{rules/typescript.js → typescript-Bh2dj5yT.js} +10 -8
  87. package/dist/typescript-Bh2dj5yT.js.map +1 -0
  88. package/dist/typescript-JqNY1gXc.cjs +51 -0
  89. package/dist/typescript-JqNY1gXc.cjs.map +1 -0
  90. package/dist/utils/merge.d.ts +1 -1
  91. package/dist/utils/mergeAllConfig.d.ts +1 -1
  92. package/dist/vue-B6Bqb251.cjs +209 -0
  93. package/dist/vue-B6Bqb251.cjs.map +1 -0
  94. package/dist/{rules/vue.js → vue-DtDckVDl.js} +22 -19
  95. package/dist/vue-DtDckVDl.js.map +1 -0
  96. package/dist/vue2-PRuaQ_vg.js +19 -0
  97. package/dist/vue2-PRuaQ_vg.js.map +1 -0
  98. package/dist/vue2-R3Acomcd.cjs +18 -0
  99. package/dist/vue2-R3Acomcd.cjs.map +1 -0
  100. package/package.json +36 -42
  101. package/dist/base-C2fq_o3u.cjs +0 -1
  102. package/dist/base-DhxoXy40.js +0 -29
  103. package/dist/compat-DfBTP0AK.js +0 -15
  104. package/dist/compat-S2mgbwTA.cjs +0 -1
  105. package/dist/index-B7Hdni5X.cjs +0 -1
  106. package/dist/index-BSFKHRiy.js +0 -33
  107. package/dist/index-BUOro8yS.js +0 -54
  108. package/dist/index-BX0PuY7X.cjs +0 -1
  109. package/dist/index-BYXlsowx.cjs +0 -1
  110. package/dist/index-BcjSGMc4.cjs +0 -1
  111. package/dist/index-BpqckWqb.js +0 -8
  112. package/dist/index-BsEDEtyS.js +0 -13
  113. package/dist/index-C743UfJX.cjs +0 -1
  114. package/dist/index-CAuGyIr4.cjs +0 -1
  115. package/dist/index-CCc7nS-L.cjs +0 -1
  116. package/dist/index-CG7O0RJO.js +0 -14
  117. package/dist/index-CcvN-eiV.cjs +0 -1
  118. package/dist/index-CixUmpPQ.js +0 -9
  119. package/dist/index-Cjyj5Al1.cjs +0 -1
  120. package/dist/index-CydLRA6p.js +0 -34
  121. package/dist/index-DIhDmtxO.js +0 -17
  122. package/dist/index-DWdvFLYP.js +0 -13
  123. package/dist/index-D_iZLt4b.js +0 -34
  124. package/dist/index-Dgx6nuN5.cjs +0 -1
  125. package/dist/index-Dz51pbFA.js +0 -13
  126. package/dist/index-E3Dvq2rq.js +0 -13
  127. package/dist/index-UyB1dQmr.cjs +0 -1
  128. package/dist/index-jfME37P0.cjs +0 -1
  129. package/dist/rules/core.cjs +0 -1
  130. package/dist/rules/core.js +0 -101
  131. package/dist/rules/cspell.cjs +0 -1
  132. package/dist/rules/cspell.js +0 -10
  133. package/dist/rules/importRules.cjs +0 -1
  134. package/dist/rules/importRules.js +0 -33
  135. package/dist/rules/jsdoc.cjs +0 -1
  136. package/dist/rules/jsdoc.js +0 -74
  137. package/dist/rules/stylistic.cjs +0 -1
  138. package/dist/rules/stylistic.js +0 -182
  139. package/dist/rules/typescript.cjs +0 -1
  140. package/dist/rules/vue.cjs +0 -1
  141. package/dist/rules/vue2.cjs +0 -1
  142. package/dist/rules/vue2.js +0 -12
  143. package/dist/utils/compat.d.ts +0 -7
@@ -0,0 +1,209 @@
1
+ "use strict";
2
+ const vue = {
3
+ rules: {
4
+ "vue/array-bracket-newline": ["error"],
5
+ "vue/array-bracket-spacing": ["error", "never"],
6
+ "vue/array-element-newline": ["error", "consistent"],
7
+ "vue/arrow-spacing": ["error"],
8
+ "vue/attribute-hyphenation": ["error", "always"],
9
+ "vue/attributes-order": ["error", {
10
+ alphabetical: true,
11
+ order: [
12
+ "LIST_RENDERING",
13
+ "CONDITIONALS",
14
+ "DEFINITION",
15
+ "RENDER_MODIFIERS",
16
+ "GLOBAL",
17
+ "UNIQUE",
18
+ "SLOT",
19
+ "ATTR_SHORTHAND_BOOL",
20
+ "ATTR_STATIC",
21
+ "ATTR_DYNAMIC",
22
+ "TWO_WAY_BINDING",
23
+ "OTHER_DIRECTIVES",
24
+ "CONTENT",
25
+ "EVENTS"
26
+ ]
27
+ }],
28
+ "vue/brace-style": ["error", "1tbs"],
29
+ "vue/camelcase": ["error", {
30
+ allow: ["^\\$_"]
31
+ }],
32
+ "vue/comma-dangle": ["error", {
33
+ arrays: "always-multiline",
34
+ exports: "always-multiline",
35
+ functions: "never",
36
+ imports: "always-multiline",
37
+ objects: "always-multiline"
38
+ }],
39
+ "vue/comma-spacing": ["error"],
40
+ "vue/comma-style": ["error", "last"],
41
+ "vue/component-definition-name-casing": ["error", "PascalCase"],
42
+ "vue/component-name-in-template-casing": ["error", "PascalCase", {
43
+ registeredComponentsOnly: false,
44
+ ignores: [
45
+ "component",
46
+ "transition"
47
+ ]
48
+ }],
49
+ "vue/block-order": ["error", {
50
+ order: [
51
+ "script[setup]",
52
+ "template",
53
+ "script:not([setup])",
54
+ "style"
55
+ ]
56
+ }],
57
+ "vue/dot-location": ["error"],
58
+ "vue/dot-notation": ["error"],
59
+ "vue/eqeqeq": ["error"],
60
+ "vue/func-call-spacing": ["error"],
61
+ "vue/html-closing-bracket-newline": [
62
+ "error",
63
+ {
64
+ singleline: "never",
65
+ multiline: "always",
66
+ selfClosingTag: {
67
+ singleline: "never",
68
+ multiline: "always"
69
+ }
70
+ }
71
+ ],
72
+ "vue/html-end-tags": ["error"],
73
+ "vue/html-indent": ["error", 4],
74
+ "vue/html-quotes": ["error", "double"],
75
+ "vue/html-self-closing": ["error"],
76
+ "vue/html-closing-bracket-spacing": ["error"],
77
+ "vue/key-spacing": ["error"],
78
+ "vue/keyword-spacing": ["error"],
79
+ "vue/max-attributes-per-line": ["error", {
80
+ multiline: {
81
+ max: 1
82
+ },
83
+ singleline: 1
84
+ }],
85
+ "vue/max-len": ["error", 120, {
86
+ ignoreComments: true,
87
+ ignoreRegExpLiterals: true,
88
+ ignoreTemplateLiterals: true,
89
+ ignoreTrailingComments: true,
90
+ ignoreUrls: true
91
+ }],
92
+ "vue/multi-word-component-names": "off",
93
+ "vue/multiline-ternary": ["error", "always-multiline"],
94
+ "vue/mustache-interpolation-spacing": ["error", "always"],
95
+ "vue/no-bare-strings-in-template": ["error", {
96
+ attributes: {
97
+ "/.+/": [
98
+ "alt",
99
+ "aria-label",
100
+ "aria-placeholder",
101
+ "aria-roledescription",
102
+ "aria-valuetext",
103
+ "description",
104
+ "label-text",
105
+ "label",
106
+ "placeholder-text",
107
+ "placeholder",
108
+ "text",
109
+ "title"
110
+ ]
111
+ },
112
+ directives: ["v-text"]
113
+ }],
114
+ "vue/no-console": ["error"],
115
+ "vue/no-constant-condition": ["error"],
116
+ "vue/no-empty-component-block": ["error"],
117
+ "vue/no-empty-pattern": ["error"],
118
+ "vue/no-extra-parens": ["error", "all", {
119
+ allowParensAfterCommentPattern: "@type",
120
+ enforceForArrowConditionals: false,
121
+ nestedBinaryExpressions: false,
122
+ returnAssign: false
123
+ }],
124
+ "vue/no-irregular-whitespace": ["error"],
125
+ "vue/no-multi-spaces": ["error"],
126
+ "vue/no-multiple-objects-in-class": ["error"],
127
+ "vue/no-potential-component-option-typo": ["error"],
128
+ "vue/no-reserved-component-names": ["error"],
129
+ "vue/no-restricted-syntax": ["error"],
130
+ "vue/no-spaces-around-equal-signs-in-attribute": ["error"],
131
+ "vue/no-sparse-arrays": ["error"],
132
+ "vue/no-undef-components": ["error"],
133
+ "vue/no-unsupported-features": ["error"],
134
+ "vue/no-unused-properties": ["error"],
135
+ "vue/no-unused-refs": ["error"],
136
+ "vue/no-use-computed-property-like-method": ["error"],
137
+ "vue/no-use-v-if-with-v-for": "error",
138
+ "vue/no-useless-concat": ["error"],
139
+ "vue/no-useless-mustaches": ["error"],
140
+ "vue/no-useless-v-bind": ["error"],
141
+ "vue/no-v-text": ["error"],
142
+ "vue/object-curly-newline": ["error", {
143
+ consistent: true
144
+ }],
145
+ "vue/object-curly-spacing": ["error", "always"],
146
+ "vue/object-property-newline": ["error", {
147
+ allowAllPropertiesOnSameLine: true
148
+ }],
149
+ "vue/object-shorthand": ["error", "always"],
150
+ "vue/order-in-components": ["error", {
151
+ order: [
152
+ "el",
153
+ "name",
154
+ "parent",
155
+ "functional",
156
+ ["delimiters", "comments"],
157
+ ["components", "directives", "filters"],
158
+ "extends",
159
+ "mixins",
160
+ "inheritAttrs",
161
+ "model",
162
+ ["props", "propsData"],
163
+ "data",
164
+ "computed",
165
+ "watch",
166
+ "LIFECYCLE_HOOKS",
167
+ "methods",
168
+ ["template", "render"],
169
+ "renderError"
170
+ ]
171
+ }],
172
+ "vue/padding-line-between-blocks": ["error"],
173
+ "vue/prefer-separate-static-class": ["error"],
174
+ "vue/prefer-template": ["error"],
175
+ "vue/prefer-true-attribute-shorthand": ["error"],
176
+ "vue/prop-name-casing": ["error", "camelCase"],
177
+ "vue/quote-props": ["error", "as-needed"],
178
+ "vue/require-default-prop": ["error"],
179
+ "vue/require-prop-type-constructor": "error",
180
+ "vue/require-prop-types": ["error"],
181
+ "@stylistic/indent": "off",
182
+ "vue/script-indent": ["error", 4, {
183
+ switchCase: 1
184
+ }],
185
+ "vue/space-in-parens": ["error", "never"],
186
+ "vue/space-infix-ops": ["error"],
187
+ "vue/space-unary-ops": ["error"],
188
+ "vue/template-curly-spacing": ["error"],
189
+ "vue/this-in-template": ["error", "never"],
190
+ "vue/v-bind-style": ["error", "shorthand"],
191
+ "vue/v-on-function-call": "off",
192
+ "vue/v-on-style": ["error", "shorthand"],
193
+ "vue/v-on-event-hyphenation": "off",
194
+ "vue/no-setup-props-destructure": "off",
195
+ "vue/block-tag-newline": ["error", {
196
+ singleline: "always",
197
+ multiline: "always"
198
+ }],
199
+ "vue/require-explicit-emits": ["error"],
200
+ "vue/no-required-prop-with-default": ["error"],
201
+ "vue/no-ref-object-reactivity-loss": ["error"],
202
+ "vue/no-template-target-blank": ["error"],
203
+ "vue/define-emits-declaration": ["error", "type-based"],
204
+ "vue/define-props-declaration": ["error", "type-based"],
205
+ "vue-scoped-css/enforce-style-type": ["error", { allows: ["scoped", "module"] }]
206
+ }
207
+ };
208
+ exports.vue = vue;
209
+ //# sourceMappingURL=vue-B6Bqb251.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vue-B6Bqb251.cjs","sources":["../src/rules/vue.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport default {\n rules: {\n 'vue/array-bracket-newline': ['error'],\n 'vue/array-bracket-spacing': ['error', 'never'],\n 'vue/array-element-newline': ['error', 'consistent'],\n 'vue/arrow-spacing': ['error'],\n 'vue/attribute-hyphenation': ['error', 'always'],\n 'vue/attributes-order': ['error', {\n alphabetical: true,\n order: [\n 'LIST_RENDERING',\n 'CONDITIONALS',\n 'DEFINITION',\n 'RENDER_MODIFIERS',\n 'GLOBAL',\n 'UNIQUE',\n 'SLOT',\n 'ATTR_SHORTHAND_BOOL',\n 'ATTR_STATIC',\n 'ATTR_DYNAMIC',\n 'TWO_WAY_BINDING',\n 'OTHER_DIRECTIVES',\n 'CONTENT',\n 'EVENTS',\n ],\n }],\n 'vue/brace-style': ['error', '1tbs'],\n 'vue/camelcase': ['error', {\n allow: ['^\\\\$_'],\n }],\n 'vue/comma-dangle': ['error', {\n arrays: 'always-multiline',\n exports: 'always-multiline',\n functions: 'never',\n imports: 'always-multiline',\n objects: 'always-multiline',\n }],\n 'vue/comma-spacing': ['error'],\n 'vue/comma-style': ['error', 'last'],\n 'vue/component-definition-name-casing': ['error', 'PascalCase'],\n 'vue/component-name-in-template-casing': ['error', 'PascalCase', {\n registeredComponentsOnly: false,\n ignores: [\n 'component',\n 'transition',\n ],\n }],\n 'vue/block-order': ['error', {\n order: [\n 'script[setup]',\n 'template',\n 'script:not([setup])',\n 'style',\n ],\n }],\n 'vue/dot-location': ['error'],\n 'vue/dot-notation': ['error'],\n 'vue/eqeqeq': ['error'],\n 'vue/func-call-spacing': ['error'],\n 'vue/html-closing-bracket-newline': [\n 'error',\n {\n singleline: 'never',\n multiline: 'always',\n selfClosingTag: {\n singleline: 'never',\n multiline: 'always',\n },\n },\n ],\n 'vue/html-end-tags': ['error'],\n 'vue/html-indent': ['error', 4],\n 'vue/html-quotes': ['error', 'double'],\n 'vue/html-self-closing': ['error'],\n 'vue/html-closing-bracket-spacing': ['error'],\n 'vue/key-spacing': ['error'],\n 'vue/keyword-spacing': ['error'],\n 'vue/max-attributes-per-line': ['error', {\n multiline: {\n max: 1,\n },\n singleline: 1,\n }],\n 'vue/max-len': ['error', 120, {\n ignoreComments: true,\n ignoreRegExpLiterals: true,\n ignoreTemplateLiterals: true,\n ignoreTrailingComments: true,\n ignoreUrls: true,\n }],\n 'vue/multi-word-component-names': 'off',\n 'vue/multiline-ternary': ['error', 'always-multiline'],\n 'vue/mustache-interpolation-spacing': ['error', 'always'],\n 'vue/no-bare-strings-in-template': ['error', {\n attributes: {\n '/.+/': [\n 'alt',\n 'aria-label',\n 'aria-placeholder',\n 'aria-roledescription',\n 'aria-valuetext',\n 'description',\n 'label-text',\n 'label',\n 'placeholder-text',\n 'placeholder',\n 'text',\n 'title',\n ],\n },\n directives: ['v-text'],\n }],\n 'vue/no-console': ['error'],\n 'vue/no-constant-condition': ['error'],\n 'vue/no-empty-component-block': ['error'],\n 'vue/no-empty-pattern': ['error'],\n 'vue/no-extra-parens': ['error', 'all', {\n allowParensAfterCommentPattern: '@type',\n enforceForArrowConditionals: false,\n nestedBinaryExpressions: false,\n returnAssign: false,\n }],\n 'vue/no-irregular-whitespace': ['error'],\n 'vue/no-multi-spaces': ['error'],\n 'vue/no-multiple-objects-in-class': ['error'],\n 'vue/no-potential-component-option-typo': ['error'],\n 'vue/no-reserved-component-names': ['error'],\n 'vue/no-restricted-syntax': ['error'],\n 'vue/no-spaces-around-equal-signs-in-attribute': ['error'],\n 'vue/no-sparse-arrays': ['error'],\n 'vue/no-undef-components': ['error'],\n 'vue/no-unsupported-features': ['error'],\n 'vue/no-unused-properties': ['error'],\n 'vue/no-unused-refs': ['error'],\n 'vue/no-use-computed-property-like-method': ['error'],\n 'vue/no-use-v-if-with-v-for': 'error',\n 'vue/no-useless-concat': ['error'],\n 'vue/no-useless-mustaches': ['error'],\n 'vue/no-useless-v-bind': ['error'],\n 'vue/no-v-text': ['error'],\n 'vue/object-curly-newline': ['error', {\n consistent: true,\n }],\n 'vue/object-curly-spacing': ['error', 'always'],\n 'vue/object-property-newline': ['error', {\n allowAllPropertiesOnSameLine: true,\n }],\n 'vue/object-shorthand': ['error', 'always'],\n 'vue/order-in-components': ['error', {\n order: [\n 'el',\n 'name',\n 'parent',\n 'functional',\n ['delimiters', 'comments'],\n ['components', 'directives', 'filters'],\n 'extends',\n 'mixins',\n 'inheritAttrs',\n 'model',\n ['props', 'propsData'],\n 'data',\n 'computed',\n 'watch',\n 'LIFECYCLE_HOOKS',\n 'methods',\n ['template', 'render'],\n 'renderError',\n ],\n }],\n 'vue/padding-line-between-blocks': ['error'],\n 'vue/prefer-separate-static-class': ['error'],\n 'vue/prefer-template': ['error'],\n 'vue/prefer-true-attribute-shorthand': ['error'],\n 'vue/prop-name-casing': ['error', 'camelCase'],\n 'vue/quote-props': ['error', 'as-needed'],\n 'vue/require-default-prop': ['error'],\n 'vue/require-prop-type-constructor': 'error',\n 'vue/require-prop-types': ['error'],\n '@stylistic/indent': 'off',\n 'vue/script-indent': ['error', 4, {\n switchCase: 1,\n }],\n 'vue/space-in-parens': ['error', 'never'],\n 'vue/space-infix-ops': ['error'],\n 'vue/space-unary-ops': ['error'],\n 'vue/template-curly-spacing': ['error'],\n 'vue/this-in-template': ['error', 'never'],\n 'vue/v-bind-style': ['error', 'shorthand'],\n 'vue/v-on-function-call': 'off',\n 'vue/v-on-style': ['error', 'shorthand'],\n 'vue/v-on-event-hyphenation': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/block-tag-newline': ['error', {\n singleline: 'always',\n multiline: 'always',\n }],\n 'vue/require-explicit-emits': ['error'],\n 'vue/no-required-prop-with-default': ['error'],\n 'vue/no-ref-object-reactivity-loss': ['error'],\n 'vue/no-template-target-blank': ['error'],\n 'vue/define-emits-declaration': ['error', 'type-based'],\n 'vue/define-props-declaration': ['error', 'type-based'],\n 'vue-scoped-css/enforce-style-type': ['error', { allows: ['scoped', 'module'] }],\n },\n} as Linter.Config;\n"],"names":[],"mappings":";AAEA,MAAe,MAAA;AAAA,EACX,OAAO;AAAA,IACH,6BAA6B,CAAC,OAAO;AAAA,IACrC,6BAA6B,CAAC,SAAS,OAAO;AAAA,IAC9C,6BAA6B,CAAC,SAAS,YAAY;AAAA,IACnD,qBAAqB,CAAC,OAAO;AAAA,IAC7B,6BAA6B,CAAC,SAAS,QAAQ;AAAA,IAC/C,wBAAwB,CAAC,SAAS;AAAA,MAC9B,cAAc;AAAA,MACd,OAAO;AAAA,QACH;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACH,CACJ;AAAA,IACD,mBAAmB,CAAC,SAAS,MAAM;AAAA,IACnC,iBAAiB,CAAC,SAAS;AAAA,MACvB,OAAO,CAAC,OAAO;AAAA,IAAA,CAClB;AAAA,IACD,oBAAoB,CAAC,SAAS;AAAA,MAC1B,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA,MACX,SAAS;AAAA,MACT,SAAS;AAAA,IAAA,CACZ;AAAA,IACD,qBAAqB,CAAC,OAAO;AAAA,IAC7B,mBAAmB,CAAC,SAAS,MAAM;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8BAA8B,CAAC,OAAO;AAAA,IACtC,qCAAqC,CAAC,OAAO;AAAA,IAC7C,qCAAqC,CAAC,OAAO;AAAA,IAC7C,gCAAgC,CAAC,OAAO;AAAA,IACxC,gCAAgC,CAAC,SAAS,YAAY;AAAA,IACtD,gCAAgC,CAAC,SAAS,YAAY;AAAA,IACtD,qCAAqC,CAAC,SAAS,EAAE,QAAQ,CAAC,UAAU,QAAQ,EAAG,CAAA;AAAA,EAAA;;;"}
@@ -1,4 +1,4 @@
1
- const e = {
1
+ const vue = {
2
2
  rules: {
3
3
  "vue/array-bracket-newline": ["error"],
4
4
  "vue/array-bracket-spacing": ["error", "never"],
@@ -6,7 +6,7 @@ const e = {
6
6
  "vue/arrow-spacing": ["error"],
7
7
  "vue/attribute-hyphenation": ["error", "always"],
8
8
  "vue/attributes-order": ["error", {
9
- alphabetical: !0,
9
+ alphabetical: true,
10
10
  order: [
11
11
  "LIST_RENDERING",
12
12
  "CONDITIONALS",
@@ -39,13 +39,13 @@ const e = {
39
39
  "vue/comma-style": ["error", "last"],
40
40
  "vue/component-definition-name-casing": ["error", "PascalCase"],
41
41
  "vue/component-name-in-template-casing": ["error", "PascalCase", {
42
- registeredComponentsOnly: !1,
42
+ registeredComponentsOnly: false,
43
43
  ignores: [
44
44
  "component",
45
45
  "transition"
46
46
  ]
47
47
  }],
48
- "vue/component-tags-order": ["error", {
48
+ "vue/block-order": ["error", {
49
49
  order: [
50
50
  "script[setup]",
51
51
  "template",
@@ -82,11 +82,11 @@ const e = {
82
82
  singleline: 1
83
83
  }],
84
84
  "vue/max-len": ["error", 120, {
85
- ignoreComments: !0,
86
- ignoreRegExpLiterals: !0,
87
- ignoreTemplateLiterals: !0,
88
- ignoreTrailingComments: !0,
89
- ignoreUrls: !0
85
+ ignoreComments: true,
86
+ ignoreRegExpLiterals: true,
87
+ ignoreTemplateLiterals: true,
88
+ ignoreTrailingComments: true,
89
+ ignoreUrls: true
90
90
  }],
91
91
  "vue/multi-word-component-names": "off",
92
92
  "vue/multiline-ternary": ["error", "always-multiline"],
@@ -94,16 +94,18 @@ const e = {
94
94
  "vue/no-bare-strings-in-template": ["error", {
95
95
  attributes: {
96
96
  "/.+/": [
97
- "title",
97
+ "alt",
98
98
  "aria-label",
99
99
  "aria-placeholder",
100
100
  "aria-roledescription",
101
101
  "aria-valuetext",
102
102
  "description",
103
+ "label-text",
104
+ "label",
105
+ "placeholder-text",
103
106
  "placeholder",
104
107
  "text",
105
- "label",
106
- "alt"
108
+ "title"
107
109
  ]
108
110
  },
109
111
  directives: ["v-text"]
@@ -114,9 +116,9 @@ const e = {
114
116
  "vue/no-empty-pattern": ["error"],
115
117
  "vue/no-extra-parens": ["error", "all", {
116
118
  allowParensAfterCommentPattern: "@type",
117
- enforceForArrowConditionals: !1,
118
- nestedBinaryExpressions: !1,
119
- returnAssign: !1
119
+ enforceForArrowConditionals: false,
120
+ nestedBinaryExpressions: false,
121
+ returnAssign: false
120
122
  }],
121
123
  "vue/no-irregular-whitespace": ["error"],
122
124
  "vue/no-multi-spaces": ["error"],
@@ -137,11 +139,11 @@ const e = {
137
139
  "vue/no-useless-v-bind": ["error"],
138
140
  "vue/no-v-text": ["error"],
139
141
  "vue/object-curly-newline": ["error", {
140
- consistent: !0
142
+ consistent: true
141
143
  }],
142
144
  "vue/object-curly-spacing": ["error", "always"],
143
145
  "vue/object-property-newline": ["error", {
144
- allowAllPropertiesOnSameLine: !0
146
+ allowAllPropertiesOnSameLine: true
145
147
  }],
146
148
  "vue/object-shorthand": ["error", "always"],
147
149
  "vue/order-in-components": ["error", {
@@ -195,7 +197,7 @@ const e = {
195
197
  }],
196
198
  "vue/require-explicit-emits": ["error"],
197
199
  "vue/no-required-prop-with-default": ["error"],
198
- "vue/no-ref-object-destructure": ["error"],
200
+ "vue/no-ref-object-reactivity-loss": ["error"],
199
201
  "vue/no-template-target-blank": ["error"],
200
202
  "vue/define-emits-declaration": ["error", "type-based"],
201
203
  "vue/define-props-declaration": ["error", "type-based"],
@@ -203,5 +205,6 @@ const e = {
203
205
  }
204
206
  };
205
207
  export {
206
- e as default
208
+ vue as v
207
209
  };
210
+ //# sourceMappingURL=vue-DtDckVDl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vue-DtDckVDl.js","sources":["../src/rules/vue.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport default {\n rules: {\n 'vue/array-bracket-newline': ['error'],\n 'vue/array-bracket-spacing': ['error', 'never'],\n 'vue/array-element-newline': ['error', 'consistent'],\n 'vue/arrow-spacing': ['error'],\n 'vue/attribute-hyphenation': ['error', 'always'],\n 'vue/attributes-order': ['error', {\n alphabetical: true,\n order: [\n 'LIST_RENDERING',\n 'CONDITIONALS',\n 'DEFINITION',\n 'RENDER_MODIFIERS',\n 'GLOBAL',\n 'UNIQUE',\n 'SLOT',\n 'ATTR_SHORTHAND_BOOL',\n 'ATTR_STATIC',\n 'ATTR_DYNAMIC',\n 'TWO_WAY_BINDING',\n 'OTHER_DIRECTIVES',\n 'CONTENT',\n 'EVENTS',\n ],\n }],\n 'vue/brace-style': ['error', '1tbs'],\n 'vue/camelcase': ['error', {\n allow: ['^\\\\$_'],\n }],\n 'vue/comma-dangle': ['error', {\n arrays: 'always-multiline',\n exports: 'always-multiline',\n functions: 'never',\n imports: 'always-multiline',\n objects: 'always-multiline',\n }],\n 'vue/comma-spacing': ['error'],\n 'vue/comma-style': ['error', 'last'],\n 'vue/component-definition-name-casing': ['error', 'PascalCase'],\n 'vue/component-name-in-template-casing': ['error', 'PascalCase', {\n registeredComponentsOnly: false,\n ignores: [\n 'component',\n 'transition',\n ],\n }],\n 'vue/block-order': ['error', {\n order: [\n 'script[setup]',\n 'template',\n 'script:not([setup])',\n 'style',\n ],\n }],\n 'vue/dot-location': ['error'],\n 'vue/dot-notation': ['error'],\n 'vue/eqeqeq': ['error'],\n 'vue/func-call-spacing': ['error'],\n 'vue/html-closing-bracket-newline': [\n 'error',\n {\n singleline: 'never',\n multiline: 'always',\n selfClosingTag: {\n singleline: 'never',\n multiline: 'always',\n },\n },\n ],\n 'vue/html-end-tags': ['error'],\n 'vue/html-indent': ['error', 4],\n 'vue/html-quotes': ['error', 'double'],\n 'vue/html-self-closing': ['error'],\n 'vue/html-closing-bracket-spacing': ['error'],\n 'vue/key-spacing': ['error'],\n 'vue/keyword-spacing': ['error'],\n 'vue/max-attributes-per-line': ['error', {\n multiline: {\n max: 1,\n },\n singleline: 1,\n }],\n 'vue/max-len': ['error', 120, {\n ignoreComments: true,\n ignoreRegExpLiterals: true,\n ignoreTemplateLiterals: true,\n ignoreTrailingComments: true,\n ignoreUrls: true,\n }],\n 'vue/multi-word-component-names': 'off',\n 'vue/multiline-ternary': ['error', 'always-multiline'],\n 'vue/mustache-interpolation-spacing': ['error', 'always'],\n 'vue/no-bare-strings-in-template': ['error', {\n attributes: {\n '/.+/': [\n 'alt',\n 'aria-label',\n 'aria-placeholder',\n 'aria-roledescription',\n 'aria-valuetext',\n 'description',\n 'label-text',\n 'label',\n 'placeholder-text',\n 'placeholder',\n 'text',\n 'title',\n ],\n },\n directives: ['v-text'],\n }],\n 'vue/no-console': ['error'],\n 'vue/no-constant-condition': ['error'],\n 'vue/no-empty-component-block': ['error'],\n 'vue/no-empty-pattern': ['error'],\n 'vue/no-extra-parens': ['error', 'all', {\n allowParensAfterCommentPattern: '@type',\n enforceForArrowConditionals: false,\n nestedBinaryExpressions: false,\n returnAssign: false,\n }],\n 'vue/no-irregular-whitespace': ['error'],\n 'vue/no-multi-spaces': ['error'],\n 'vue/no-multiple-objects-in-class': ['error'],\n 'vue/no-potential-component-option-typo': ['error'],\n 'vue/no-reserved-component-names': ['error'],\n 'vue/no-restricted-syntax': ['error'],\n 'vue/no-spaces-around-equal-signs-in-attribute': ['error'],\n 'vue/no-sparse-arrays': ['error'],\n 'vue/no-undef-components': ['error'],\n 'vue/no-unsupported-features': ['error'],\n 'vue/no-unused-properties': ['error'],\n 'vue/no-unused-refs': ['error'],\n 'vue/no-use-computed-property-like-method': ['error'],\n 'vue/no-use-v-if-with-v-for': 'error',\n 'vue/no-useless-concat': ['error'],\n 'vue/no-useless-mustaches': ['error'],\n 'vue/no-useless-v-bind': ['error'],\n 'vue/no-v-text': ['error'],\n 'vue/object-curly-newline': ['error', {\n consistent: true,\n }],\n 'vue/object-curly-spacing': ['error', 'always'],\n 'vue/object-property-newline': ['error', {\n allowAllPropertiesOnSameLine: true,\n }],\n 'vue/object-shorthand': ['error', 'always'],\n 'vue/order-in-components': ['error', {\n order: [\n 'el',\n 'name',\n 'parent',\n 'functional',\n ['delimiters', 'comments'],\n ['components', 'directives', 'filters'],\n 'extends',\n 'mixins',\n 'inheritAttrs',\n 'model',\n ['props', 'propsData'],\n 'data',\n 'computed',\n 'watch',\n 'LIFECYCLE_HOOKS',\n 'methods',\n ['template', 'render'],\n 'renderError',\n ],\n }],\n 'vue/padding-line-between-blocks': ['error'],\n 'vue/prefer-separate-static-class': ['error'],\n 'vue/prefer-template': ['error'],\n 'vue/prefer-true-attribute-shorthand': ['error'],\n 'vue/prop-name-casing': ['error', 'camelCase'],\n 'vue/quote-props': ['error', 'as-needed'],\n 'vue/require-default-prop': ['error'],\n 'vue/require-prop-type-constructor': 'error',\n 'vue/require-prop-types': ['error'],\n '@stylistic/indent': 'off',\n 'vue/script-indent': ['error', 4, {\n switchCase: 1,\n }],\n 'vue/space-in-parens': ['error', 'never'],\n 'vue/space-infix-ops': ['error'],\n 'vue/space-unary-ops': ['error'],\n 'vue/template-curly-spacing': ['error'],\n 'vue/this-in-template': ['error', 'never'],\n 'vue/v-bind-style': ['error', 'shorthand'],\n 'vue/v-on-function-call': 'off',\n 'vue/v-on-style': ['error', 'shorthand'],\n 'vue/v-on-event-hyphenation': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/block-tag-newline': ['error', {\n singleline: 'always',\n multiline: 'always',\n }],\n 'vue/require-explicit-emits': ['error'],\n 'vue/no-required-prop-with-default': ['error'],\n 'vue/no-ref-object-reactivity-loss': ['error'],\n 'vue/no-template-target-blank': ['error'],\n 'vue/define-emits-declaration': ['error', 'type-based'],\n 'vue/define-props-declaration': ['error', 'type-based'],\n 'vue-scoped-css/enforce-style-type': ['error', { allows: ['scoped', 'module'] }],\n },\n} as Linter.Config;\n"],"names":[],"mappings":"AAEA,MAAe,MAAA;AAAA,EACX,OAAO;AAAA,IACH,6BAA6B,CAAC,OAAO;AAAA,IACrC,6BAA6B,CAAC,SAAS,OAAO;AAAA,IAC9C,6BAA6B,CAAC,SAAS,YAAY;AAAA,IACnD,qBAAqB,CAAC,OAAO;AAAA,IAC7B,6BAA6B,CAAC,SAAS,QAAQ;AAAA,IAC/C,wBAAwB,CAAC,SAAS;AAAA,MAC9B,cAAc;AAAA,MACd,OAAO;AAAA,QACH;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACH,CACJ;AAAA,IACD,mBAAmB,CAAC,SAAS,MAAM;AAAA,IACnC,iBAAiB,CAAC,SAAS;AAAA,MACvB,OAAO,CAAC,OAAO;AAAA,IAAA,CAClB;AAAA,IACD,oBAAoB,CAAC,SAAS;AAAA,MAC1B,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA,MACX,SAAS;AAAA,MACT,SAAS;AAAA,IAAA,CACZ;AAAA,IACD,qBAAqB,CAAC,OAAO;AAAA,IAC7B,mBAAmB,CAAC,SAAS,MAAM;AAAA,IACnC,wCAAwC,CAAC,SAAS,YAAY;AAAA,IAC9D,yCAAyC,CAAC,SAAS,cAAc;AAAA,MAC7D,0BAA0B;AAAA,MAC1B,SAAS;AAAA,QACL;AAAA,QACA;AAAA,MAAA;AAAA,IACH,CACJ;AAAA,IACD,mBAAmB,CAAC,SAAS;AAAA,MACzB,OAAO;AAAA,QACH;AAAA,QACA;AAAA,QACA;AAAA,QACA;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EAAG,CAAA;AAAA,EAAA;;"}
@@ -0,0 +1,19 @@
1
+ import { v as vue } from "./vue-DtDckVDl.js";
2
+ const vue2Options = {
3
+ rules: {
4
+ ...vue.rules,
5
+ "vue/require-explicit-emits": "off",
6
+ "vue/no-unused-refs": "off",
7
+ "vue/prefer-true-attribute-shorthand": ["error", "never"]
8
+ }
9
+ };
10
+ const vue2Composition = {
11
+ rules: {
12
+ ...vue.rules
13
+ }
14
+ };
15
+ export {
16
+ vue2Composition as a,
17
+ vue2Options as v
18
+ };
19
+ //# sourceMappingURL=vue2-PRuaQ_vg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vue2-PRuaQ_vg.js","sources":["../src/rules/vue2.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vue from './vue';\n\nexport const vue2Options = {\n rules: {\n ...vue.rules,\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n\nexport const vue2Composition = {\n rules: {\n ...vue.rules,\n },\n} as Linter.Config;\n"],"names":[],"mappings":";AAGO,MAAM,cAAc;AAAA,EACvB,OAAO;AAAA,IACH,GAAG,IAAI;AAAA,IACP,8BAA8B;AAAA,IAC9B,sBAAsB;AAAA,IACtB,uCAAuC,CAAC,SAAS,OAAO;AAAA,EAAA;;AAIzD,MAAM,kBAAkB;AAAA,EAC3B,OAAO;AAAA,IACH,GAAG,IAAI;AAAA,EAAA;;"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ const vue = require("./vue-B6Bqb251.cjs");
3
+ const vue2Options = {
4
+ rules: {
5
+ ...vue.vue.rules,
6
+ "vue/require-explicit-emits": "off",
7
+ "vue/no-unused-refs": "off",
8
+ "vue/prefer-true-attribute-shorthand": ["error", "never"]
9
+ }
10
+ };
11
+ const vue2Composition = {
12
+ rules: {
13
+ ...vue.vue.rules
14
+ }
15
+ };
16
+ exports.vue2Composition = vue2Composition;
17
+ exports.vue2Options = vue2Options;
18
+ //# sourceMappingURL=vue2-R3Acomcd.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vue2-R3Acomcd.cjs","sources":["../src/rules/vue2.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vue from './vue';\n\nexport const vue2Options = {\n rules: {\n ...vue.rules,\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n\nexport const vue2Composition = {\n rules: {\n ...vue.rules,\n },\n} as Linter.Config;\n"],"names":["vue"],"mappings":";;AAGO,MAAM,cAAc;AAAA,EACvB,OAAO;AAAA,IACH,GAAGA,IAAI,IAAA;AAAA,IACP,8BAA8B;AAAA,IAC9B,sBAAsB;AAAA,IACtB,uCAAuC,CAAC,SAAS,OAAO;AAAA,EAAA;;AAIzD,MAAM,kBAAkB;AAAA,EAC3B,OAAO;AAAA,IACH,GAAGA,QAAI;AAAA,EAAA;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@useinsider/eslint-config",
3
3
  "type": "module",
4
- "version": "1.9.2",
4
+ "version": "1.10.0-beta.10",
5
5
  "description": "A collection of ESLint configurations provided by @useinsider, offering support for various environments including Vanilla JS, TypeScript, and framework-specific setups such as Vue 3.",
6
6
  "keywords": [
7
7
  "useinsider",
@@ -24,12 +24,13 @@
24
24
  "build": "vite build",
25
25
  "watch": "vite build --mode development --watch",
26
26
  "emit-types": "tsc --declaration -p tsconfig.lib.json",
27
+ "lint": "pnpm check-types && pnpm lint:es",
27
28
  "check-types": "pnpm check-types:lib && pnpm check-types:node && pnpm check-types:test",
28
29
  "check-types:lib": "tsc --noEmit -p tsconfig.lib.json",
29
30
  "check-types:node": "tsc --noEmit -p tsconfig.node.json",
30
31
  "check-types:test": "tsc --noEmit -p tsconfig.test.json",
31
- "lint": "eslint .",
32
- "lint:fix": "pnpm lint --fix",
32
+ "lint:es": "eslint .",
33
+ "lint:es-fix": "pnpm lint:es --fix",
33
34
  "test": "vitest",
34
35
  "test:ci": "pnpm test",
35
36
  "release": "semantic-release -e semantic-release-monorepo"
@@ -50,10 +51,6 @@
50
51
  "types": "./dist/main.d.ts",
51
52
  "import": "./dist/main.js",
52
53
  "require": "./dist/main.cjs"
53
- },
54
- "./rules/*": {
55
- "import": "./dist/rules/*.js",
56
- "require": "./dist/rules/*.cjs"
57
54
  }
58
55
  },
59
56
  "files": [
@@ -64,57 +61,54 @@
64
61
  "pnpm": ">=9"
65
62
  },
66
63
  "dependencies": {
67
- "@antfu/install-pkg": "1.0.0",
68
- "@cspell/eslint-plugin": "8.17.5",
69
- "@eslint/eslintrc": "3.3.0",
70
- "@eslint/js": "8.57.1",
64
+ "@antfu/install-pkg": "1.1.0",
65
+ "@cspell/eslint-plugin": "9.1.1",
66
+ "@eslint/js": "9.29.0",
71
67
  "@stylistic/eslint-plugin": "3.1.0",
72
- "@stylistic/eslint-plugin-migrate": "3.1.0",
73
- "@types/eslint": "8.56.12",
74
- "@types/eslint__eslintrc": "2.1.2",
75
- "@types/eslint__js": "8.42.3",
76
- "@typescript-eslint/eslint-plugin": "7.18.0",
77
- "@typescript-eslint/parser": "7.18.0",
78
- "eslint": "8.57.1",
79
- "eslint-config-airbnb-base": "15.0.0",
80
- "eslint-config-airbnb-typescript": "18.0.0",
81
- "eslint-import-resolver-typescript": "3.8.3",
82
- "eslint-plugin-import": "2.31.0",
83
- "eslint-plugin-jsdoc": "50.5.0",
84
- "globals": "16.0.0",
68
+ "@types/eslint": "9.6.1",
69
+ "@typescript-eslint/eslint-plugin": "8.34.1",
70
+ "@typescript-eslint/parser": "8.34.1",
71
+ "eslint": "9.29.0",
72
+ "eslint-config-airbnb-extended": "2.1.0",
73
+ "eslint-import-resolver-typescript": "4.4.3",
74
+ "eslint-plugin-import-x": "4.15.2",
75
+ "eslint-plugin-jsdoc": "51.2.1",
76
+ "globals": "16.2.0",
77
+ "semver": "7.7.2",
85
78
  "ts-deepmerge": "7.0.2",
86
- "typescript": "5.5.4",
87
- "typescript-eslint": "8.26.0"
79
+ "typescript": "5.8.3",
80
+ "typescript-eslint": "8.34.1"
88
81
  },
89
82
  "devDependencies": {
90
- "@rollup/plugin-typescript": "12.1.2",
83
+ "@rollup/plugin-typescript": "12.1.3",
91
84
  "@semantic-release/changelog": "6.0.3",
92
85
  "@semantic-release/git": "10.0.1",
93
86
  "@types/fs-extra": "11.0.4",
94
- "@types/node": "22.13.9",
87
+ "@types/node": "24.0.3",
88
+ "@types/semver": "7.7.0",
95
89
  "@useinsider/release-config": "workspace:*",
96
- "@vitest/coverage-v8": "3.0.8",
97
- "@vue/eslint-config-typescript": "13.0.0",
98
- "eslint-plugin-jest": "28.11.0",
99
- "eslint-plugin-vue": "9.33.0",
100
- "eslint-plugin-vue-scoped-css": "2.9.0",
90
+ "@vitest/coverage-v8": "3.2.4",
91
+ "@vue/eslint-config-typescript": "14.5.1",
92
+ "eslint-plugin-jest": "29.0.1",
93
+ "eslint-plugin-vue": "10.2.0",
94
+ "eslint-plugin-vue-scoped-css": "2.10.0",
101
95
  "fs-extra": "11.3.0",
102
96
  "rollup-plugin-typescript-paths": "1.5.0",
103
- "rollup-plugin-visualizer": "5.14.0",
104
- "semantic-release": "24.2.3",
97
+ "rollup-plugin-visualizer": "6.0.3",
98
+ "semantic-release": "24.2.5",
105
99
  "semantic-release-monorepo": "8.0.2",
106
100
  "tslib": "2.8.1",
107
101
  "vite": "6.3.5",
108
102
  "vite-tsconfig-paths": "5.1.4",
109
- "vitest": "3.0.8",
110
- "vue": "3.5.13",
111
- "vue-eslint-parser": "10.1.1"
103
+ "vitest": "3.2.4",
104
+ "vue": "3.5.17",
105
+ "vue-eslint-parser": "10.1.3"
112
106
  },
113
107
  "optionalDependencies": {
114
108
  "@rushstack/eslint-patch": ">=1.10.5",
115
- "@vue/eslint-config-typescript": "13.0.0",
116
- "eslint-plugin-vue": "9.33.0",
117
- "eslint-plugin-vue-scoped-css": "2.9.0",
118
- "vue-eslint-parser": "10.1.1"
109
+ "@vue/eslint-config-typescript": "14.5.1",
110
+ "eslint-plugin-vue": "10.2.0",
111
+ "eslint-plugin-vue-scoped-css": "2.10.0",
112
+ "vue-eslint-parser": "10.1.3"
119
113
  }
120
114
  }
@@ -1 +0,0 @@
1
- "use strict";const t=require("node:path"),n=require("node:url"),i=require("@eslint/eslintrc"),c=require("@eslint/js"),r=require("./main.cjs");var e=typeof document<"u"?document.currentScript:null;const s=new i.FlatCompat({baseDirectory:t.dirname(n.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:e&&e.tagName.toUpperCase()==="SCRIPT"&&e.src||new URL("base-C2fq_o3u.cjs",document.baseURI).href))});function u(o=[]){return r.merge(c.configs.recommended,r.mergeAll(s.plugins("import","@stylistic","@stylistic/migrate","@cspell",...o)))}function a(){return r.merge({languageOptions:{ecmaVersion:2022},rules:{"jsdoc/require-param":"off","jsdoc/require-jsdoc":"off","jsdoc/require-returns":"off","jsdoc/require-param-type":"off","jsdoc/check-param-names":"off"}})}exports.postConfig=a;exports.preConfig=u;
@@ -1,29 +0,0 @@
1
- import { dirname as e } from "node:path";
2
- import { fileURLToPath as t } from "node:url";
3
- import { FlatCompat as i } from "@eslint/eslintrc";
4
- import m from "@eslint/js";
5
- import { merge as r, mergeAll as s } from "./main.js";
6
- const a = new i({
7
- baseDirectory: e(t(import.meta.url))
8
- });
9
- function l(o = []) {
10
- return r(m.configs.recommended, s(a.plugins("import", "@stylistic", "@stylistic/migrate", "@cspell", ...o)));
11
- }
12
- function d() {
13
- return r({
14
- languageOptions: {
15
- ecmaVersion: 2022
16
- },
17
- rules: {
18
- "jsdoc/require-param": "off",
19
- "jsdoc/require-jsdoc": "off",
20
- "jsdoc/require-returns": "off",
21
- "jsdoc/require-param-type": "off",
22
- "jsdoc/check-param-names": "off"
23
- }
24
- });
25
- }
26
- export {
27
- d as a,
28
- l as p
29
- };
@@ -1,15 +0,0 @@
1
- import { dirname as m } from "node:path";
2
- import { fileURLToPath as r } from "node:url";
3
- import { FlatCompat as i } from "@eslint/eslintrc";
4
- import { mergeAll as t } from "./main.js";
5
- const e = new i({
6
- baseDirectory: m(r(import.meta.url))
7
- }), l = {
8
- extends: (...o) => t(e.extends(...o)),
9
- config: (o) => t(e.config(o)),
10
- plugins: (...o) => t(e.plugins(...o)),
11
- env: (o) => t(e.env(o))
12
- };
13
- export {
14
- l as c
15
- };
@@ -1 +0,0 @@
1
- "use strict";const o=require("node:path"),c=require("node:url"),i=require("@eslint/eslintrc"),t=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const n=new i.FlatCompat({baseDirectory:o.dirname(c.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("compat-S2mgbwTA.cjs",document.baseURI).href))}),a={extends:(...e)=>t.mergeAll(n.extends(...e)),config:e=>t.mergeAll(n.config(e)),plugins:(...e)=>t.mergeAll(n.plugins(...e)),env:e=>t.mergeAll(n.env(e))};exports.compat=a;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={rules:{"jsdoc/no-types":"off"}};exports.default=e;