@sxzz/eslint-config 3.3.0 → 3.3.1
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/index.cjs +5 -1
- package/package.json +1 -1
- package/src/vue.js +5 -0
package/index.cjs
CHANGED
|
@@ -628,7 +628,11 @@ var vueCustomRules = {
|
|
|
628
628
|
}
|
|
629
629
|
],
|
|
630
630
|
"vue/no-loss-of-precision": "error",
|
|
631
|
-
"vue/no-empty-pattern": "error"
|
|
631
|
+
"vue/no-empty-pattern": "error",
|
|
632
|
+
"unicorn/filename-case": [
|
|
633
|
+
"error",
|
|
634
|
+
{ cases: { kebabCase: true, pascalCase: true } }
|
|
635
|
+
]
|
|
632
636
|
};
|
|
633
637
|
var vue3Rules = {
|
|
634
638
|
...import_eslint_plugin_vue.default.configs.base.rules,
|
package/package.json
CHANGED
package/src/vue.js
CHANGED
|
@@ -85,6 +85,11 @@ const vueCustomRules = {
|
|
|
85
85
|
],
|
|
86
86
|
'vue/no-loss-of-precision': 'error',
|
|
87
87
|
'vue/no-empty-pattern': 'error',
|
|
88
|
+
|
|
89
|
+
'unicorn/filename-case': [
|
|
90
|
+
'error',
|
|
91
|
+
{ cases: { kebabCase: true, pascalCase: true } },
|
|
92
|
+
],
|
|
88
93
|
}
|
|
89
94
|
|
|
90
95
|
/** @type {import('eslint-define-config').Rules} */
|