vue-linters-config 0.3.14 → 0.3.16

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 (2) hide show
  1. package/dist/index.js +41 -6
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ function o(e, r) {
4
4
  languageOptions: { parser: e, parserOptions: { parser: r } }
5
5
  };
6
6
  }
7
- function t(e) {
7
+ function n(e) {
8
8
  return {
9
9
  languageOptions: {
10
10
  ecmaVersion: 2022,
@@ -13,7 +13,7 @@ function t(e) {
13
13
  }
14
14
  };
15
15
  }
16
- const n = {
16
+ const t = {
17
17
  ignores: [
18
18
  "**/dist/",
19
19
  "**/dev-dist/",
@@ -72,6 +72,13 @@ const n = {
72
72
  "vue/this-in-template": "error",
73
73
  "vue/v-for-delimiter-style": "error",
74
74
  "vue/v-on-event-hyphenation": ["error", "never"],
75
+ "vue/require-explicit-emits": "error",
76
+ "vue/require-prop-types": "error",
77
+ "vue/require-render-return": "error",
78
+ "vue/valid-v-bind-sync": "error",
79
+ "vue/valid-v-model": "error",
80
+ "vue/valid-v-on": "error",
81
+ "vue/valid-v-slot": "error",
75
82
  "array-bracket-spacing": ["error", "never"],
76
83
  "array-callback-return": "error",
77
84
  "block-spacing": ["error", "always"],
@@ -167,6 +174,17 @@ const n = {
167
174
  "prefer-rest-params": "error",
168
175
  "prefer-spread": "error",
169
176
  "prefer-template": "error",
177
+ "no-duplicate-imports": "error",
178
+ "prefer-const": "error",
179
+ "no-unexpected-multiline": "error",
180
+ "no-duplicate-case": "error",
181
+ "no-empty-pattern": "error",
182
+ "no-invalid-regexp": "error",
183
+ "no-regex-spaces": "error",
184
+ "no-sparse-arrays": "error",
185
+ "no-unreachable": "error",
186
+ "no-unsafe-negation": "error",
187
+ "no-with": "error",
170
188
  semi: "error",
171
189
  quotes: ["error", "single", { avoidEscape: !0, allowTemplateLiterals: !0 }],
172
190
  yoda: ["error", "never", { onlyEquality: !0 }],
@@ -227,6 +245,7 @@ const n = {
227
245
  "@typescript-eslint/prefer-function-type": "error",
228
246
  "@typescript-eslint/prefer-literal-enum-member": "error",
229
247
  "@typescript-eslint/unified-signatures": "error",
248
+ "@typescript-eslint/no-inferrable-types": "error",
230
249
  "max-len": [
231
250
  "error",
232
251
  {
@@ -241,15 +260,22 @@ const n = {
241
260
  ]
242
261
  }
243
262
  }, a = {
263
+ arrayBracketSpacing: !1,
264
+ arrowParens: "always",
265
+ bracketSameLine: !1,
244
266
  bracketSpacing: !0,
267
+ endOfLine: "lf",
245
268
  jsxSingleQuote: !0,
269
+ jsxBracketSameLine: !1,
270
+ objectCurlySpacing: !0,
246
271
  printWidth: 120,
272
+ proseWrap: "preserve",
273
+ quoteProps: "as-needed",
247
274
  semi: !0,
248
275
  singleQuote: !0,
249
276
  tabWidth: 2,
250
277
  trailingComma: "es5",
251
- useTabs: !1,
252
- bracketSameLine: !1
278
+ useTabs: !1
253
279
  }, l = {
254
280
  plugins: ["stylelint-prettier"],
255
281
  extends: [
@@ -326,12 +352,21 @@ const n = {
326
352
  "time-min-milliseconds": 100,
327
353
  "unit-allowed-list": ["px", "rem", "%", "vh", "dvh", "vw", "dvw", "ms", "deg", "fr"],
328
354
  "value-keyword-case": ["lower", { ignoreFunctions: ["v-bind"] }],
355
+ "function-name-case": ["lower", { ignoreFunctions: ["v-bind"] }],
356
+ "keyframes-name-pattern": "/^[a-z][a-zA-Z0-9]+$/",
357
+ "media-feature-name-value-no-unknown": !0,
358
+ "selector-max-compound-selectors": 4,
359
+ "selector-max-specificity": "0,7,0",
360
+ "shorthand-property-no-redundant-values": !0,
361
+ "string-quotes": "single",
362
+ "unit-disallowed-list": ["pt", "pc", "in", "cm", "mm"],
363
+ "value-no-vendor-prefix": !0,
329
364
  "prettier/prettier": !0
330
365
  }
331
366
  };
332
367
  export {
333
- n as ignores,
334
- t as options,
368
+ t as ignores,
369
+ n as options,
335
370
  o as parser,
336
371
  a as prettier,
337
372
  i as rules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-linters-config",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "type": "module",
5
5
  "description": "Vue 3 linters config for eslint, prettier, stylelint",
6
6
  "author": "Aleksandr Dergunov <dergunovs@mail.ru>",
@@ -12,10 +12,10 @@
12
12
  "build": "vite build"
13
13
  },
14
14
  "devDependencies": {
15
- "vite": "6.2.6"
15
+ "vite": "7.1.2"
16
16
  },
17
17
  "engines": {
18
- "npm": ">=11.2.0",
19
- "node": ">=23.11.0"
18
+ "npm": ">=11.5.1",
19
+ "node": ">=24.6.0"
20
20
  }
21
21
  }