@rhapsodic/eslint-config 0.1.0 → 0.1.3

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.mjs +3 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -525,13 +525,12 @@ async function vue(options = {}) {
525
525
  }
526
526
  })]),
527
527
  rules: {
528
- ...pluginVue.configs.base.rules,
529
528
  ...pluginVue.configs["flat/essential"].map((c) => c.rules).reduce((acc, c) => ({
530
529
  ...acc,
531
530
  ...c
532
531
  }), {}),
533
532
  "vue/block-lang": ["error", { script: {
534
- lang: "ts",
533
+ lang: options.typescript ? "ts" : "js",
535
534
  allowNoLang: false
536
535
  } }],
537
536
  "vue/camelcase": ["error", {
@@ -588,8 +587,9 @@ async function vue(options = {}) {
588
587
  ],
589
588
  "vue/prefer-template": "error",
590
589
  "vue/require-default-prop": "off",
590
+ "vue/return-in-computed-property": "off",
591
591
  ...stylistic$1 ? {
592
- "@stylistic/max-len": "off",
592
+ "style/max-len": "off",
593
593
  "vue/array-bracket-newline": ["error", "consistent"],
594
594
  "vue/array-bracket-spacing": ["error", "never"],
595
595
  "vue/arrow-spacing": ["error", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rhapsodic/eslint-config",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.3",
5
5
  "description": "Rhapsodic's ESLint config",
6
6
  "author": "Svyatoslav Fyodorov <intelrug@gmail.com> (https://github.com/intelrug/)",
7
7
  "license": "MIT",
@@ -68,7 +68,7 @@
68
68
  "typescript": "^5.9.3",
69
69
  "vitest": "^4.0.9",
70
70
  "vue": "^3.5.24",
71
- "@rhapsodic/eslint-config": "0.1.0"
71
+ "@rhapsodic/eslint-config": "0.1.3"
72
72
  },
73
73
  "resolutions": {
74
74
  "eslint": "catalog:peer"