@flint.fyi/vue 0.1.2 → 0.1.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/lib/plugin.d.ts +2 -5
- package/lib/plugin.js +0 -2
- package/lib/rules/ruleCreator.d.ts +0 -1
- package/lib/rules/ruleCreator.js +0 -2
- package/lib/rules/vForKeys.d.ts +0 -1
- package/lib/rules/vForKeys.js +2 -4
- package/package.json +11 -12
package/lib/plugin.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _flint_fyi_core0 from "@flint.fyi/core";
|
|
2
|
-
|
|
3
1
|
//#region src/plugin.d.ts
|
|
4
|
-
declare const vue:
|
|
2
|
+
declare const vue: import("@flint.fyi/core").Plugin<import("@flint.fyi/core").RuleAbout<string>, "all", [import("@flint.fyi/core").Rule<{
|
|
5
3
|
readonly description: "Reports v-for directives without a valid key binding.";
|
|
6
4
|
readonly id: "vForKeys";
|
|
7
5
|
readonly presets: readonly ["logical"];
|
|
@@ -10,5 +8,4 @@ declare const vue: _flint_fyi_core0.Plugin<_flint_fyi_core0.RuleAbout<string>, "
|
|
|
10
8
|
readonly url: string;
|
|
11
9
|
}, "invalidKey" | "missingKey" | "staticKey", undefined>]>;
|
|
12
10
|
//#endregion
|
|
13
|
-
export { vue };
|
|
14
|
-
//# sourceMappingURL=plugin.d.ts.map
|
|
11
|
+
export { vue };
|
package/lib/plugin.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { RuleCreator } from "@flint.fyi/core";
|
|
2
2
|
export declare const ruleCreator: RuleCreator<"logical" | "logicalStrict" | "stylistic" | "stylisticStrict", import("@flint.fyi/core").RuleAbout<"logical" | "logicalStrict" | "stylistic" | "stylisticStrict">>;
|
|
3
|
-
//# sourceMappingURL=ruleCreator.d.ts.map
|
package/lib/rules/ruleCreator.js
CHANGED
package/lib/rules/vForKeys.d.ts
CHANGED
package/lib/rules/vForKeys.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ruleCreator } from "./ruleCreator.js";
|
|
2
|
+
import * as vue from "@vue/compiler-dom";
|
|
3
|
+
import ts from "typescript";
|
|
2
4
|
import { nullThrows } from "@flint.fyi/utils";
|
|
3
5
|
import { reportSourceCode } from "@flint.fyi/volar-language";
|
|
4
6
|
import { vueLanguage } from "@flint.fyi/vue-language";
|
|
5
|
-
import * as vue from "@vue/compiler-dom";
|
|
6
|
-
import ts from "typescript";
|
|
7
7
|
//#region src/rules/vForKeys.ts
|
|
8
8
|
var vForKeys_default = ruleCreator.createRule(vueLanguage, {
|
|
9
9
|
about: {
|
|
@@ -135,5 +135,3 @@ var vForKeys_default = ruleCreator.createRule(vueLanguage, {
|
|
|
135
135
|
});
|
|
136
136
|
//#endregion
|
|
137
137
|
export { vForKeys_default as default };
|
|
138
|
-
|
|
139
|
-
//# sourceMappingURL=vForKeys.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flint.fyi/vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "[Experimental] Vue.js language plugin for Flint.",
|
|
5
5
|
"homepage": "https://flint.fyi/rules/vue",
|
|
6
6
|
"repository": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": {
|
|
13
|
-
"name": "
|
|
14
|
-
"
|
|
13
|
+
"name": "Flint Team",
|
|
14
|
+
"url": "https://flint.fyi/team"
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"type": "module",
|
|
@@ -19,24 +19,23 @@
|
|
|
19
19
|
".": "./lib/index.js"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
|
-
"lib/"
|
|
23
|
-
"!lib/**/*.map"
|
|
22
|
+
"lib/"
|
|
24
23
|
],
|
|
25
24
|
"dependencies": {
|
|
26
25
|
"@vue/compiler-dom": "^3.5.0",
|
|
27
26
|
"typescript": "^5.9.0 || ^6.0.0",
|
|
28
|
-
"@flint.fyi/core": "^0.
|
|
29
|
-
"@flint.fyi/ts": "^0.
|
|
27
|
+
"@flint.fyi/core": "^0.23.3",
|
|
28
|
+
"@flint.fyi/ts": "^0.21.0",
|
|
30
29
|
"@flint.fyi/utils": "^0.14.1",
|
|
31
|
-
"@flint.fyi/
|
|
32
|
-
"@flint.fyi/
|
|
30
|
+
"@flint.fyi/vue-language": "^0.1.2",
|
|
31
|
+
"@flint.fyi/volar-language": "^0.1.4"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
|
-
"tsdown": "0.
|
|
34
|
+
"tsdown": "0.22.3",
|
|
36
35
|
"vitest": "4.1.0",
|
|
37
36
|
"vue": "3.5.30",
|
|
38
|
-
"@flint.fyi/typescript-language": "^0.18.
|
|
39
|
-
"@flint.fyi/rule-tester": "^0.16.
|
|
37
|
+
"@flint.fyi/typescript-language": "^0.18.4",
|
|
38
|
+
"@flint.fyi/rule-tester": "^0.16.4"
|
|
40
39
|
},
|
|
41
40
|
"engines": {
|
|
42
41
|
"node": ">=24.0.0"
|