oxlint-plugin-vize 0.516.0 → 0.518.0
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.
|
@@ -50,6 +50,9 @@ function getRuleOptions(ruleName, options) {
|
|
|
50
50
|
case "vue/v-on-style":
|
|
51
51
|
if (isVOnStyle(firstOption)) return { ruleOptions: { "vue/v-on-style": firstOption } };
|
|
52
52
|
break;
|
|
53
|
+
case "vue/v-bind-style":
|
|
54
|
+
if (isVBindStyle(firstOption)) return { ruleOptions: { "vue/v-bind-style": firstOption } };
|
|
55
|
+
break;
|
|
53
56
|
case "vue/attribute-hyphenation":
|
|
54
57
|
if (isHyphenationStyle(firstOption)) return { attributeHyphenation: firstOption };
|
|
55
58
|
break;
|
|
@@ -109,6 +112,9 @@ function isHyphenationStyle(value) {
|
|
|
109
112
|
function isVOnStyle(value) {
|
|
110
113
|
return value === "shorthand" || value === "longform";
|
|
111
114
|
}
|
|
115
|
+
function isVBindStyle(value) {
|
|
116
|
+
return value === "shorthand" || value === "longform";
|
|
117
|
+
}
|
|
112
118
|
//#endregion
|
|
113
119
|
//#region src/rule-selection.ts
|
|
114
120
|
const selectionCache = /* @__PURE__ */ new WeakMap();
|
|
@@ -757,6 +763,7 @@ function ruleOptionsSchema(ruleName) {
|
|
|
757
763
|
case "vue/v-on-event-hyphenation":
|
|
758
764
|
case "vue/attribute-hyphenation": return [{ enum: ["always", "never"] }];
|
|
759
765
|
case "vue/v-on-style": return [{ enum: ["shorthand", "longform"] }];
|
|
766
|
+
case "vue/v-bind-style": return [{ enum: ["shorthand", "longform"] }];
|
|
760
767
|
case "vue/require-component-registration": return [objectSchema({ globals: stringArraySchema() })];
|
|
761
768
|
case "vue/valid-v-on": return [objectSchema({ modifiers: stringArraySchema() })];
|
|
762
769
|
case "vue/valid-v-slot": return [objectSchema({ allowModifiers: { type: "boolean" } })];
|
|
@@ -55,6 +55,7 @@ interface VizeRuleOptions {
|
|
|
55
55
|
"vue/sfc-element-order"?: SfcElementOrderOption;
|
|
56
56
|
"vue/html-self-closing"?: HtmlSelfClosingOption;
|
|
57
57
|
"vue/v-on-event-hyphenation"?: HyphenationStyle;
|
|
58
|
+
"vue/v-bind-style"?: VBindStyle;
|
|
58
59
|
"vue/v-on-style"?: VOnStyle;
|
|
59
60
|
"vue/attribute-hyphenation"?: HyphenationStyle;
|
|
60
61
|
"vue/valid-v-on"?: {
|
|
@@ -91,6 +92,7 @@ interface HtmlSelfClosingOption {
|
|
|
91
92
|
math?: HtmlSelfClosingStyle;
|
|
92
93
|
}
|
|
93
94
|
type HyphenationStyle = "always" | "never";
|
|
95
|
+
type VBindStyle = "shorthand" | "longform";
|
|
94
96
|
type VOnStyle = "shorthand" | "longform";
|
|
95
97
|
//#endregion
|
|
96
98
|
//#region src/configs.d.ts
|
package/dist/eslint.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createVizeRuleConfig, s as configs } from "./configs-
|
|
1
|
+
import { c as createVizeRuleConfig, s as configs } from "./configs-fRZVmJbZ.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/eslint.d.ts
|
|
4
4
|
/** ESLint rules over the complete source supplied by the configured parser. */
|
package/dist/eslint.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getPatinaRules, c as isTypeAwareRuleName, d as getRuleOptions, i as formatPatinaMessage, l as createRuleSelection, n as createVizeRuleConfig, o as getActivePreset, r as plugin_default, s as getVizeSettings, t as configs } from "./configs-
|
|
1
|
+
import { a as getPatinaRules, c as isTypeAwareRuleName, d as getRuleOptions, i as formatPatinaMessage, l as createRuleSelection, n as createVizeRuleConfig, o as getActivePreset, r as plugin_default, s as getVizeSettings, t as configs } from "./configs-BLr9AGzA.mjs";
|
|
2
2
|
import { d as isPatinaFile, m as loadBinding } from "./workaround-Byh3ja-i.mjs";
|
|
3
3
|
import { definePlugin, defineRule, eslintCompatPlugin } from "@oxlint/plugins";
|
|
4
4
|
//#region src/eslint-source.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as VizeRuleConfigPreset, c as createVizeRuleConfig, d as VizeRuleOptions, i as VizeRuleConfigOptions, l as PatinaPreset, n as OxlintRuleEntry, o as VizeRuleConfigPresetInput, r as OxlintRuleSeverity, s as configs, t as OxlintRuleConfig, u as PatinaSettings } from "./configs-
|
|
1
|
+
import { a as VizeRuleConfigPreset, c as createVizeRuleConfig, d as VizeRuleOptions, i as VizeRuleConfigOptions, l as PatinaPreset, n as OxlintRuleEntry, o as VizeRuleConfigPresetInput, r as OxlintRuleSeverity, s as configs, t as OxlintRuleConfig, u as PatinaSettings } from "./configs-fRZVmJbZ.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const _default: import("@oxlint/plugins").Plugin;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getPatinaRules, n as createVizeRuleConfig, r as plugin_default, t as configs, u as selectVizeRuleConfig } from "./configs-
|
|
1
|
+
import { a as getPatinaRules, n as createVizeRuleConfig, r as plugin_default, t as configs, u as selectVizeRuleConfig } from "./configs-BLr9AGzA.mjs";
|
|
2
2
|
//#region src/vite-plus.ts
|
|
3
3
|
/**
|
|
4
4
|
* Bare specifier Oxlint uses to load this bridge as a JS plugin.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint-plugin-vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.518.0",
|
|
4
4
|
"description": "Oxlint JS plugin bridge for Vize Patina",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@tsdown/css": "0.22.14",
|
|
50
50
|
"@types/node": "25.9.2",
|
|
51
|
-
"@vizejs/native": "0.
|
|
51
|
+
"@vizejs/native": "0.518.0",
|
|
52
52
|
"tsdown": "0.22.14",
|
|
53
53
|
"typescript": "6.0.3",
|
|
54
54
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.24",
|
|
55
55
|
"vite-plus": "0.1.24"
|
|
56
56
|
},
|
|
57
57
|
"optionalDependencies": {
|
|
58
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
59
|
-
"@vizejs/native-darwin-x64": "0.
|
|
60
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
61
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
62
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
63
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
64
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
65
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
58
|
+
"@vizejs/native-darwin-arm64": "0.518.0",
|
|
59
|
+
"@vizejs/native-darwin-x64": "0.518.0",
|
|
60
|
+
"@vizejs/native-linux-arm64-gnu": "0.518.0",
|
|
61
|
+
"@vizejs/native-linux-arm64-musl": "0.518.0",
|
|
62
|
+
"@vizejs/native-linux-x64-gnu": "0.518.0",
|
|
63
|
+
"@vizejs/native-linux-x64-musl": "0.518.0",
|
|
64
|
+
"@vizejs/native-win32-arm64-msvc": "0.518.0",
|
|
65
|
+
"@vizejs/native-win32-x64-msvc": "0.518.0"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": "^22 || >= 24"
|