oxlint-plugin-vize 0.698.0 → 0.700.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.
|
@@ -98,7 +98,7 @@ interface VizeRuleOptions {
|
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
type ComponentNameInTemplateCasingOption = "PascalCase" | "kebab-case";
|
|
101
|
-
type CustomEventNameCasingOption = "camelCase" | "kebab-case";
|
|
101
|
+
type CustomEventNameCasingOption = "lowercase" | "camelCase" | "kebab-case";
|
|
102
102
|
interface NoMutatingPropsOption {
|
|
103
103
|
shallowOnly?: boolean;
|
|
104
104
|
}
|
|
@@ -301,7 +301,7 @@ function cliRuleOptions(ruleName, option) {
|
|
|
301
301
|
return { ruleOptions: { [ruleName]: structuredClone(option) } };
|
|
302
302
|
}
|
|
303
303
|
function isCustomEventNameCasingOption(value) {
|
|
304
|
-
return value === "camelCase" || value === "kebab-case";
|
|
304
|
+
return value === "lowercase" || value === "camelCase" || value === "kebab-case";
|
|
305
305
|
}
|
|
306
306
|
function isNoMutatingPropsOption(value) {
|
|
307
307
|
if (!isRecord(value)) return false;
|
|
@@ -978,7 +978,15 @@ function ruleOptionsSchema(ruleName) {
|
|
|
978
978
|
switch (ruleName) {
|
|
979
979
|
case "vue/prop-name-casing": return [propNameCasingSchema()];
|
|
980
980
|
case "vue/component-name-in-template-casing": return componentNameCasingSchema();
|
|
981
|
-
case "script/custom-event-name-casing": return [{ oneOf: [{ enum: [
|
|
981
|
+
case "script/custom-event-name-casing": return [{ oneOf: [{ enum: [
|
|
982
|
+
"lowercase",
|
|
983
|
+
"camelCase",
|
|
984
|
+
"kebab-case"
|
|
985
|
+
] }, objectSchema({ casing: { enum: [
|
|
986
|
+
"lowercase",
|
|
987
|
+
"camelCase",
|
|
988
|
+
"kebab-case"
|
|
989
|
+
] } })] }];
|
|
982
990
|
case "script/define-props-destructuring": return [objectSchema({ destructure: { enum: [
|
|
983
991
|
"only-when-assigned",
|
|
984
992
|
"always",
|
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-CasT29H7.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 { c as getPatinaRules, d as isTypeAwareRuleName, f as createRuleSelection, i as formatPatinaMessage, l as getActivePreset, m as getRuleOptions, n as createVizeRuleConfig, o as diagnosticsForRule, r as plugin_default, s as indexDiagnosticsByRule, t as configs, u as getVizeSettings } from "./configs-
|
|
1
|
+
import { c as getPatinaRules, d as isTypeAwareRuleName, f as createRuleSelection, i as formatPatinaMessage, l as getActivePreset, m as getRuleOptions, n as createVizeRuleConfig, o as diagnosticsForRule, r as plugin_default, s as indexDiagnosticsByRule, t as configs, u as getVizeSettings } from "./configs-DcbkSYDG.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-CasT29H7.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 { c as getPatinaRules, n as createVizeRuleConfig, p as selectVizeRuleConfig, r as plugin_default, t as configs } from "./configs-
|
|
1
|
+
import { c as getPatinaRules, n as createVizeRuleConfig, p as selectVizeRuleConfig, r as plugin_default, t as configs } from "./configs-DcbkSYDG.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.700.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.700.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.700.0",
|
|
59
|
+
"@vizejs/native-darwin-x64": "0.700.0",
|
|
60
|
+
"@vizejs/native-linux-arm64-gnu": "0.700.0",
|
|
61
|
+
"@vizejs/native-linux-arm64-musl": "0.700.0",
|
|
62
|
+
"@vizejs/native-linux-x64-gnu": "0.700.0",
|
|
63
|
+
"@vizejs/native-linux-x64-musl": "0.700.0",
|
|
64
|
+
"@vizejs/native-win32-arm64-msvc": "0.700.0",
|
|
65
|
+
"@vizejs/native-win32-x64-msvc": "0.700.0"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": "^22 || >= 24"
|