eslint-plugin-crisp 1.3.3 → 1.3.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/README.md +1 -1
- package/package.json +1 -1
- package/recommended-vue.js +1 -1
- package/recommended.js +4 -1
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ Each item has emojis denoting:
|
|
|
175
175
|
| [vue/block-order](https://eslint.vuejs.org/rules/block-order) | Enforces order of component top-level elements (`template`, then `script`, then `style`) | | 🟢 |
|
|
176
176
|
| [vue/block-tag-newline](https://eslint.vuejs.org/rules/block-tag-newline) | Requires one line break after opening and before closing block-level tags | | 🟢 |
|
|
177
177
|
| [vue/comma-dangle](https://eslint.vuejs.org/rules/comma-dangle) | Disallows trailing commas in `<template>` | | 🟢 |
|
|
178
|
-
| [vue/component-api-style](https://eslint.vuejs.org/rules/component-api-style) |
|
|
178
|
+
| [vue/component-api-style](https://eslint.vuejs.org/rules/component-api-style) | Allows both Options API and Composition API | | 🟢 |
|
|
179
179
|
| [vue/component-name-in-template-casing](https://eslint.vuejs.org/rules/component-name-in-template-casing) | Enforces tag names to kebab case | | 🟢 |
|
|
180
180
|
| [vue/component-options-name-casing](https://eslint.vuejs.org/rules/component-options-name-casing) | Enforces component names in `components` options to pascal case | | 🟢 |
|
|
181
181
|
| [vue/custom-event-name-casing](https://eslint.vuejs.org/rules/custom-event-name-casing) | Enforces custom event names to camel case | | 🟢 |
|
package/package.json
CHANGED
package/recommended-vue.js
CHANGED
|
@@ -294,7 +294,7 @@ export default function configRecommendedVue(pluginCrisp) {
|
|
|
294
294
|
}
|
|
295
295
|
],
|
|
296
296
|
"vue/comma-dangle": "error",
|
|
297
|
-
"vue/component-api-style": ["error", ["options"]],
|
|
297
|
+
"vue/component-api-style": ["error", ["options", "composition"]],
|
|
298
298
|
"vue/component-name-in-template-casing": ["error", "kebab-case"],
|
|
299
299
|
"vue/component-options-name-casing": ["error", "PascalCase"],
|
|
300
300
|
"vue/custom-event-name-casing": [
|
package/recommended.js
CHANGED
|
@@ -92,7 +92,10 @@ export default function configRecommended(pluginCrisp) {
|
|
|
92
92
|
],
|
|
93
93
|
"keyword-spacing": "error",
|
|
94
94
|
"linebreak-style": ["error", "unix"],
|
|
95
|
-
"max-len": ["error", {
|
|
95
|
+
"max-len": ["error", {
|
|
96
|
+
"code": 80,
|
|
97
|
+
"ignorePattern": "^\\*\\* \\@import"
|
|
98
|
+
}],
|
|
96
99
|
"no-console": "warn",
|
|
97
100
|
"no-debugger": "warn",
|
|
98
101
|
"no-eval": "error",
|