@zayne-labs/eslint-config 0.6.2 → 0.6.4
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.d.ts +408 -224
- package/dist/index.js +3 -9
- package/dist/index.js.map +1 -1
- package/package.json +35 -38
- package/dist/prettier/index.d.ts +0 -37
- package/dist/prettier/index.js +0 -22
- package/dist/prettier/index.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1625,15 +1625,9 @@ async function vue(options = {}) {
|
|
|
1625
1625
|
]),
|
|
1626
1626
|
rules: {
|
|
1627
1627
|
...pluginVue.configs.base.rules,
|
|
1628
|
-
...vueVersion === 2 ?
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
...pluginVue.configs.recommended.rules
|
|
1632
|
-
} : {
|
|
1633
|
-
...pluginVue.configs["vue3-essential"].rules,
|
|
1634
|
-
...pluginVue.configs["vue3-strongly-recommended"].rules,
|
|
1635
|
-
...pluginVue.configs["vue3-recommended"].rules
|
|
1636
|
-
},
|
|
1628
|
+
...pluginVue.configs[`flat/${vueVersion === 2 ? "vue2-" : ""}essential`].at(-1)?.rules,
|
|
1629
|
+
...pluginVue.configs[`flat/${vueVersion === 2 ? "vue2-" : ""}strongly-recommended`].at(-1)?.rules,
|
|
1630
|
+
...pluginVue.configs[`flat/${vueVersion === 2 ? "vue2-" : ""}recommended`].at(-1)?.rules,
|
|
1637
1631
|
"node/prefer-global/process": "off",
|
|
1638
1632
|
"vue/block-order": [
|
|
1639
1633
|
"error",
|