vue-linters-config 0.4.7 → 0.4.9

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 +16 -19
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,17 +1,14 @@
1
- function o(e, r) {
1
+ function t(e, r, o) {
2
+ const n = o || import.meta.dirname;
2
3
  return {
3
4
  files: ["**/*.vue"],
4
5
  languageOptions: {
5
6
  parser: e,
6
- parserOptions: {
7
- parser: r,
8
- project: ["./tsconfig.json"],
9
- tsconfigRootDir: import.meta.dirname
10
- }
7
+ parserOptions: { parser: r, project: ["./tsconfig.json"], tsconfigRootDir: n }
11
8
  }
12
9
  };
13
10
  }
14
- function n(e) {
11
+ function s(e) {
15
12
  return {
16
13
  languageOptions: {
17
14
  ecmaVersion: 2022,
@@ -20,7 +17,7 @@ function n(e) {
20
17
  }
21
18
  };
22
19
  }
23
- const t = {
20
+ const i = {
24
21
  ignores: [
25
22
  "**/dist/",
26
23
  "**/dev-dist/",
@@ -31,13 +28,13 @@ const t = {
31
28
  "**/package-lock.json",
32
29
  "**/android/"
33
30
  ]
34
- }, s = {
31
+ }, a = {
35
32
  settings: {
36
33
  "import-x/resolver": { node: { extensions: [".js", ".ts", ".mjs", ".d.ts"] } },
37
34
  "import-x/ignore": "vue",
38
35
  "import-x/external-module-folders": ["node_modules", "node_modules/@types"]
39
36
  }
40
- }, i = {
37
+ }, l = {
41
38
  rules: {
42
39
  "vue/attribute-hyphenation": ["error", "never", { ignore: ["hide-details"] }],
43
40
  "vue/block-lang": ["error", { script: { lang: "ts" } }],
@@ -282,7 +279,7 @@ const t = {
282
279
  }
283
280
  ]
284
281
  }
285
- }, a = {
282
+ }, p = {
286
283
  arrayBracketSpacing: !1,
287
284
  arrowParens: "always",
288
285
  bracketSameLine: !1,
@@ -299,7 +296,7 @@ const t = {
299
296
  tabWidth: 2,
300
297
  trailingComma: "es5",
301
298
  useTabs: !1
302
- }, l = {
299
+ }, c = {
303
300
  plugins: ["stylelint-prettier"],
304
301
  extends: [
305
302
  "stylelint-config-recommended-scss",
@@ -386,11 +383,11 @@ const t = {
386
383
  }
387
384
  };
388
385
  export {
389
- t as ignores,
390
- n as options,
391
- o as parser,
392
- a as prettier,
393
- i as rules,
394
- s as settings,
395
- l as stylelint
386
+ i as ignores,
387
+ s as options,
388
+ t as parser,
389
+ p as prettier,
390
+ l as rules,
391
+ a as settings,
392
+ c as stylelint
396
393
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-linters-config",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "type": "module",
5
5
  "description": "Vue 3 linters config for eslint, prettier, stylelint",
6
6
  "author": "Aleksandr Dergunov <dergunovs@mail.ru>",