@rhapsodic/eslint-config 0.1.0 → 0.1.2
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.
- package/dist/index.mjs +2 -3
- 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", {
|
|
@@ -589,7 +588,7 @@ async function vue(options = {}) {
|
|
|
589
588
|
"vue/prefer-template": "error",
|
|
590
589
|
"vue/require-default-prop": "off",
|
|
591
590
|
...stylistic$1 ? {
|
|
592
|
-
"
|
|
591
|
+
"style/max-len": "off",
|
|
593
592
|
"vue/array-bracket-newline": ["error", "consistent"],
|
|
594
593
|
"vue/array-bracket-spacing": ["error", "never"],
|
|
595
594
|
"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.
|
|
4
|
+
"version": "0.1.2",
|
|
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.
|
|
71
|
+
"@rhapsodic/eslint-config": "0.1.2"
|
|
72
72
|
},
|
|
73
73
|
"resolutions": {
|
|
74
74
|
"eslint": "catalog:peer"
|