@flint.fyi/vue 0.1.0 → 0.1.2
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
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as _flint_fyi_core0 from "@flint.fyi/core";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
|
-
declare const vue: _flint_fyi_core0.Plugin<_flint_fyi_core0.RuleAbout
|
|
4
|
+
declare const vue: _flint_fyi_core0.Plugin<_flint_fyi_core0.RuleAbout<string>, "all", [_flint_fyi_core0.Rule<{
|
|
5
5
|
readonly description: "Reports v-for directives without a valid key binding.";
|
|
6
6
|
readonly id: "vForKeys";
|
|
7
|
-
readonly
|
|
7
|
+
readonly presets: readonly ["logical"];
|
|
8
8
|
} & {
|
|
9
|
-
|
|
10
|
-
url: string;
|
|
11
|
-
},
|
|
9
|
+
readonly pluginId: string;
|
|
10
|
+
readonly url: string;
|
|
11
|
+
}, "invalidKey" | "missingKey" | "staticKey", undefined>]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { vue };
|
|
14
14
|
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RuleCreator } from "@flint.fyi/core";
|
|
2
|
-
export declare const ruleCreator: RuleCreator<"logical" | "logicalStrict" | "stylistic" | "stylisticStrict"
|
|
2
|
+
export declare const ruleCreator: RuleCreator<"logical" | "logicalStrict" | "stylistic" | "stylisticStrict", import("@flint.fyi/core").RuleAbout<"logical" | "logicalStrict" | "stylistic" | "stylisticStrict">>;
|
|
3
3
|
//# sourceMappingURL=ruleCreator.d.ts.map
|
package/lib/rules/vForKeys.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import("@flint.fyi/core").Rule<{
|
|
2
2
|
readonly description: "Reports v-for directives without a valid key binding.";
|
|
3
3
|
readonly id: "vForKeys";
|
|
4
|
-
readonly
|
|
4
|
+
readonly presets: readonly ["logical"];
|
|
5
5
|
} & {
|
|
6
|
-
|
|
7
|
-
url: string;
|
|
8
|
-
},
|
|
6
|
+
readonly pluginId: string;
|
|
7
|
+
readonly url: string;
|
|
8
|
+
}, "invalidKey" | "missingKey" | "staticKey", undefined>;
|
|
9
9
|
export default _default;
|
|
10
10
|
//# sourceMappingURL=vForKeys.d.ts.map
|
package/lib/rules/vForKeys.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flint.fyi/vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "[Experimental] Vue.js language plugin for Flint.",
|
|
5
|
-
"homepage": "https://flint.fyi",
|
|
5
|
+
"homepage": "https://flint.fyi/rules/vue",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/flint-fyi/flint.git",
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@vue/compiler-dom": "^3.5.0",
|
|
27
27
|
"typescript": "^5.9.0 || ^6.0.0",
|
|
28
|
-
"@flint.fyi/core": "^0.
|
|
28
|
+
"@flint.fyi/core": "^0.22.0",
|
|
29
|
+
"@flint.fyi/ts": "^0.19.1",
|
|
29
30
|
"@flint.fyi/utils": "^0.14.1",
|
|
30
|
-
"@flint.fyi/
|
|
31
|
-
"@flint.fyi/volar-language": "^0.1.0",
|
|
31
|
+
"@flint.fyi/volar-language": "^0.1.1",
|
|
32
32
|
"@flint.fyi/vue-language": "^0.1.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"tsdown": "0.21.0",
|
|
36
36
|
"vitest": "4.1.0",
|
|
37
37
|
"vue": "3.5.30",
|
|
38
|
-
"@flint.fyi/typescript-language": "^0.18.
|
|
39
|
-
"@flint.fyi/rule-tester": "^0.16.
|
|
38
|
+
"@flint.fyi/typescript-language": "^0.18.2",
|
|
39
|
+
"@flint.fyi/rule-tester": "^0.16.3"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=24.0.0"
|