@neralabs/rerail-pack-vue 0.1.3 → 0.1.5

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/pack.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "id": "vue",
4
4
  "name": "Vue",
5
5
  "category": "framework",
6
- "covers": "No rules yet: its 24 eslint-plugin-vue 10.11.1 ports are candidates until they pass the V1 rule validation gates.",
6
+ "covers": "19 eslint-plugin-vue 10.11.1 rules ported to Rerail, 18 of them on and 1 off until turned on, each scored against eslint-plugin-vue's own recorded findings on its rule tests; 5 more ports are candidates until they pass the port readiness gates.",
7
7
  "reason": "matches Vue single-file components",
8
8
  "match": {
9
9
  "any": [
@@ -16,5 +16,139 @@
16
16
  ]
17
17
  },
18
18
  "honourSuppressionComments": true,
19
- "rules": []
19
+ "rules": [
20
+ {
21
+ "id": "eslint-plugin-vue-attribute-hyphenation",
22
+ "document": "rules/eslint-plugin-vue-attribute-hyphenation.json",
23
+ "title": "eslint-plugin-vue attribute-hyphenation: Enforce attribute naming style on custom components in template",
24
+ "group": "eslint-plugin-vue",
25
+ "on": true
26
+ },
27
+ {
28
+ "id": "eslint-plugin-vue-no-async-in-computed-properties",
29
+ "document": "rules/eslint-plugin-vue-no-async-in-computed-properties.json",
30
+ "title": "eslint-plugin-vue no-async-in-computed-properties: Disallow asynchronous actions in computed properties",
31
+ "group": "eslint-plugin-vue",
32
+ "on": true
33
+ },
34
+ {
35
+ "id": "eslint-plugin-vue-no-child-content",
36
+ "document": "rules/eslint-plugin-vue-no-child-content.json",
37
+ "title": "eslint-plugin-vue no-child-content: Disallow element's child contents which would be overwritten by a directive like `v-html` or `v-text`",
38
+ "group": "eslint-plugin-vue",
39
+ "on": true
40
+ },
41
+ {
42
+ "id": "eslint-plugin-vue-no-deprecated-v-on-native-modifier",
43
+ "document": "rules/eslint-plugin-vue-no-deprecated-v-on-native-modifier.json",
44
+ "title": "eslint-plugin-vue no-deprecated-v-on-native-modifier: Disallow using deprecated `.native` modifiers (in Vue.js 3.0.0+)",
45
+ "group": "eslint-plugin-vue",
46
+ "on": true
47
+ },
48
+ {
49
+ "id": "eslint-plugin-vue-no-duplicate-attributes",
50
+ "document": "rules/eslint-plugin-vue-no-duplicate-attributes.json",
51
+ "title": "eslint-plugin-vue no-duplicate-attributes: Disallow duplication of attributes",
52
+ "group": "eslint-plugin-vue",
53
+ "on": true
54
+ },
55
+ {
56
+ "id": "eslint-plugin-vue-no-export-in-script-setup",
57
+ "document": "rules/eslint-plugin-vue-no-export-in-script-setup.json",
58
+ "title": "eslint-plugin-vue no-export-in-script-setup: Disallow `export` in `<script setup>`",
59
+ "group": "eslint-plugin-vue",
60
+ "on": true
61
+ },
62
+ {
63
+ "id": "eslint-plugin-vue-no-mutating-props",
64
+ "document": "rules/eslint-plugin-vue-no-mutating-props.json",
65
+ "title": "eslint-plugin-vue no-mutating-props: Disallow mutation of component props",
66
+ "group": "eslint-plugin-vue",
67
+ "on": true
68
+ },
69
+ {
70
+ "id": "eslint-plugin-vue-no-ref-as-operand",
71
+ "document": "rules/eslint-plugin-vue-no-ref-as-operand.json",
72
+ "title": "eslint-plugin-vue no-ref-as-operand: Disallow use of value wrapped by `ref()` (Composition API) as an operand",
73
+ "group": "eslint-plugin-vue",
74
+ "on": true
75
+ },
76
+ {
77
+ "id": "eslint-plugin-vue-no-setup-props-reactivity-loss",
78
+ "document": "rules/eslint-plugin-vue-no-setup-props-reactivity-loss.json",
79
+ "title": "eslint-plugin-vue no-setup-props-reactivity-loss: Disallow usages that lose the reactivity of `props` passed to `setup`",
80
+ "group": "eslint-plugin-vue",
81
+ "on": false
82
+ },
83
+ {
84
+ "id": "eslint-plugin-vue-no-side-effects-in-computed-properties",
85
+ "document": "rules/eslint-plugin-vue-no-side-effects-in-computed-properties.json",
86
+ "title": "eslint-plugin-vue no-side-effects-in-computed-properties: Disallow side effects in computed properties",
87
+ "group": "eslint-plugin-vue",
88
+ "on": true
89
+ },
90
+ {
91
+ "id": "eslint-plugin-vue-no-template-shadow",
92
+ "document": "rules/eslint-plugin-vue-no-template-shadow.json",
93
+ "title": "eslint-plugin-vue no-template-shadow: Disallow variable declarations from shadowing variables declared in the outer scope",
94
+ "group": "eslint-plugin-vue",
95
+ "on": true
96
+ },
97
+ {
98
+ "id": "eslint-plugin-vue-no-unused-vars",
99
+ "document": "rules/eslint-plugin-vue-no-unused-vars.json",
100
+ "title": "eslint-plugin-vue no-unused-vars: Disallow unused variable definitions of v-for directives or scope attributes",
101
+ "group": "eslint-plugin-vue",
102
+ "on": true
103
+ },
104
+ {
105
+ "id": "eslint-plugin-vue-no-use-v-if-with-v-for",
106
+ "document": "rules/eslint-plugin-vue-no-use-v-if-with-v-for.json",
107
+ "title": "eslint-plugin-vue no-use-v-if-with-v-for: Disallow using `v-if` on the same element as `v-for`",
108
+ "group": "eslint-plugin-vue",
109
+ "on": true
110
+ },
111
+ {
112
+ "id": "eslint-plugin-vue-no-v-html",
113
+ "document": "rules/eslint-plugin-vue-no-v-html.json",
114
+ "title": "eslint-plugin-vue no-v-html: Disallow use of v-html to prevent XSS attack",
115
+ "group": "eslint-plugin-vue",
116
+ "on": true
117
+ },
118
+ {
119
+ "id": "eslint-plugin-vue-no-v-text-v-html-on-component",
120
+ "document": "rules/eslint-plugin-vue-no-v-text-v-html-on-component.json",
121
+ "title": "eslint-plugin-vue no-v-text-v-html-on-component: Disallow v-text / v-html on component",
122
+ "group": "eslint-plugin-vue",
123
+ "on": true
124
+ },
125
+ {
126
+ "id": "eslint-plugin-vue-no-watch-after-await",
127
+ "document": "rules/eslint-plugin-vue-no-watch-after-await.json",
128
+ "title": "eslint-plugin-vue no-watch-after-await: Disallow asynchronously registered `watch`",
129
+ "group": "eslint-plugin-vue",
130
+ "on": true
131
+ },
132
+ {
133
+ "id": "eslint-plugin-vue-require-v-for-key",
134
+ "document": "rules/eslint-plugin-vue-require-v-for-key.json",
135
+ "title": "eslint-plugin-vue require-v-for-key: Require `v-bind:key` with `v-for` directives",
136
+ "group": "eslint-plugin-vue",
137
+ "on": true
138
+ },
139
+ {
140
+ "id": "eslint-plugin-vue-v-on-event-hyphenation",
141
+ "document": "rules/eslint-plugin-vue-v-on-event-hyphenation.json",
142
+ "title": "eslint-plugin-vue v-on-event-hyphenation: Enforce v-on event naming style on custom components in template",
143
+ "group": "eslint-plugin-vue",
144
+ "on": true
145
+ },
146
+ {
147
+ "id": "eslint-plugin-vue-valid-v-for",
148
+ "document": "rules/eslint-plugin-vue-valid-v-for.json",
149
+ "title": "eslint-plugin-vue valid-v-for: Enforce valid `v-for` directives",
150
+ "group": "eslint-plugin-vue",
151
+ "on": true
152
+ }
153
+ ]
20
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neralabs/rerail-pack-vue",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Rerail rule pack: eslint-plugin-vue rules ported to Rerail code rules.",
5
5
  "license": "Apache-2.0 AND MIT",
6
6
  "repository": {