@infernodesign/eslint-config 2.14.3 → 2.15.1

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/dist/index.js CHANGED
@@ -559,6 +559,14 @@ async function stylistic(options = {}) {
559
559
  "style/max-len": "off",
560
560
  "style/max-statements-per-line": "off",
561
561
  "style/multiline-ternary": "off",
562
+ "style/quotes": [
563
+ "error",
564
+ "single",
565
+ {
566
+ avoidEscape: true,
567
+ allowTemplateLiterals: true
568
+ }
569
+ ],
562
570
  "style/generator-star-spacing": ["error", {
563
571
  after: true,
564
572
  before: false
@@ -1377,13 +1385,39 @@ async function markdown(options = {}) {
1377
1385
  //#endregion
1378
1386
  //#region src/configs/medusa.ts
1379
1387
  const MedusaPluginName = "@medusajs/eslint-plugin";
1388
+ /**
1389
+ * Plugin prefix of the rules inside the Medusa preset configs, before the factory renames it.
1390
+ */
1391
+ const MedusaPluginPrefix = "@medusajs/";
1392
+ /**
1393
+ * Plugin prefix users write in overrides, which the factory applies via `autoRenamePlugins`.
1394
+ */
1395
+ const MedusaRenamedPrefix = "medusa/";
1396
+ /**
1397
+ * Pick the overrides that target rules of one preset config item.
1398
+ *
1399
+ * Overrides may use the renamed `medusa/` prefix or the original `@medusajs/` prefix. They are
1400
+ * returned under the key the preset uses, so they replace the preset rule and never add one.
1401
+ *
1402
+ * @param {NonNullable<TypedFlatConfigItem['rules']>} overrides The user rule overrides.
1403
+ * @param {NonNullable<TypedFlatConfigItem['rules']>} rules The rules of the preset config item.
1404
+ * @returns {Record<string, unknown>} The overrides that apply to the preset config item.
1405
+ */
1406
+ function scopeOverrides(overrides, rules) {
1407
+ const scoped = {};
1408
+ for (const [rule, value] of Object.entries(overrides)) {
1409
+ const presetRule = rule.startsWith(MedusaRenamedPrefix) ? `${MedusaPluginPrefix}${rule.slice(7)}` : rule;
1410
+ if (presetRule in rules) scoped[presetRule] = value;
1411
+ }
1412
+ return scoped;
1413
+ }
1380
1414
  async function medusa(options = {}) {
1381
1415
  const { overrides = {}, preset = "recommended" } = options;
1382
1416
  await ensurePackages([MedusaPluginName]);
1383
1417
  const presetConfigs = (await interopDefault(import(MedusaPluginName))).configs[preset];
1384
1418
  if (!presetConfigs) throw new Error(`[${PACKAGE_NAME}] Failed to find config ${preset} in ${MedusaPluginName}`);
1385
1419
  return presetConfigs.map(({ plugins, rules, ...config }, index) => {
1386
- const scopedOverrides = Object.fromEntries(Object.entries(overrides).filter(([rule]) => rule in (rules ?? {})));
1420
+ const scopedOverrides = scopeOverrides(overrides, rules ?? {});
1387
1421
  return {
1388
1422
  ...config,
1389
1423
  name: `config/medusa/${preset}/${index}`,
@@ -1506,10 +1540,10 @@ async function perfectionist() {
1506
1540
  "side-effect",
1507
1541
  "unknown"
1508
1542
  ],
1509
- partitionByComment: true,
1510
1543
  newlinesBetween: 1,
1511
1544
  newlinesInside: 0,
1512
1545
  order: "asc",
1546
+ partitionByComment: true,
1513
1547
  type: "alphabetical"
1514
1548
  }],
1515
1549
  "perfectionist/sort-interfaces": ["error", {
@@ -1875,6 +1909,154 @@ function mergeSanitySettings(existing, next) {
1875
1909
  };
1876
1910
  }
1877
1911
  //#endregion
1912
+ //#region src/configs/shadcn.ts
1913
+ const ShadcnPluginName = "@shadcn/lint";
1914
+ const defaultComponentFiles = ["**/components/ui/**"];
1915
+ const presetRules = {
1916
+ none: {},
1917
+ recommended: {
1918
+ "shadcn/no-arbitrary-values": ["error", { allow: ["layout"] }],
1919
+ "shadcn/no-inline-styles": "error",
1920
+ "shadcn/no-raw-colors": "error",
1921
+ "shadcn/no-restyle": ["error", { allow: ["layout"] }],
1922
+ "shadcn/no-unknown-classes": "warn",
1923
+ "shadcn/require-static-classes": "error"
1924
+ },
1925
+ warn: {
1926
+ "shadcn/no-arbitrary-values": ["warn", { allow: ["layout"] }],
1927
+ "shadcn/no-inline-styles": "warn",
1928
+ "shadcn/no-raw-colors": "warn",
1929
+ "shadcn/no-restyle": ["warn", { allow: ["layout"] }],
1930
+ "shadcn/no-unknown-classes": "warn",
1931
+ "shadcn/require-static-classes": "warn"
1932
+ }
1933
+ };
1934
+ const componentOverrideRules = {
1935
+ "shadcn/no-arbitrary-values": "off",
1936
+ "shadcn/no-restyle": "off",
1937
+ "shadcn/require-static-classes": "off"
1938
+ };
1939
+ const warnings$1 = /* @__PURE__ */ new Set();
1940
+ /**
1941
+ * Create the `@shadcn/lint` design system config.
1942
+ *
1943
+ * Layers rules as preset < policy `rules` < `overrides`. The built-in component-directory
1944
+ * override is replaced by the policy `overrides` whenever the policy defines them.
1945
+ *
1946
+ * @param {OptionsShadcn & OptionsOverrides & { svelte?: boolean, vue?: boolean }} options - The shadcn options.
1947
+ * The `svelte` and `vue` flags add `.svelte` and `.vue` files to the default `files`.
1948
+ * @returns {Promise<TypedFlatConfigItem[]>} The shadcn config items.
1949
+ */
1950
+ async function shadcn(options = {}) {
1951
+ const { componentFiles = defaultComponentFiles, files = [
1952
+ GLOB_SRC,
1953
+ ...options.vue ? [GLOB_VUE] : [],
1954
+ ...options.svelte ? [GLOB_SVELTE] : []
1955
+ ], overrides = {}, preset = "recommended" } = options;
1956
+ await ensurePackages([ShadcnPluginName]);
1957
+ const pluginShadcn = await interopDefault(import(ShadcnPluginName));
1958
+ const rules = presetRules[preset];
1959
+ if (!rules) throw new Error(`[${PACKAGE_NAME}] Unknown shadcn preset "${preset}"`);
1960
+ const policy = loadShadcnPolicy(options);
1961
+ const hasSettings = !!options.settings && Object.keys(options.settings).length > 0;
1962
+ const overrideConfigs = policy?.overrides ? policy.overrides.map((entry, index) => ({
1963
+ files: entry.files,
1964
+ name: `config/shadcn/policy/${index}`,
1965
+ rules: entry.rules
1966
+ })) : componentFiles.length > 0 ? [{
1967
+ files: componentFiles,
1968
+ name: "config/shadcn/components",
1969
+ rules: componentOverrideRules
1970
+ }] : [];
1971
+ return [
1972
+ {
1973
+ name: "config/shadcn/setup",
1974
+ plugins: { shadcn: pluginShadcn }
1975
+ },
1976
+ {
1977
+ files,
1978
+ name: "config/shadcn/rules",
1979
+ rules: {
1980
+ ...rules,
1981
+ ...policy?.rules,
1982
+ ...overrides
1983
+ },
1984
+ ...hasSettings ? { settings: { shadcn: options.settings } } : {}
1985
+ },
1986
+ ...overrideConfigs
1987
+ ];
1988
+ }
1989
+ /**
1990
+ * Load and validate the `design-system.lint.json` policy file, if one is configured.
1991
+ *
1992
+ * A missing file warns once and is ignored. An unreadable, malformed, or wrongly shaped file throws.
1993
+ *
1994
+ * @param {OptionsShadcn} options - The shadcn options providing `policy` and `cwd`.
1995
+ * @returns {ResolvedShadcnPolicy | undefined} The validated policy, or `undefined` when none is loaded.
1996
+ */
1997
+ function loadShadcnPolicy(options) {
1998
+ if (!options.policy) return;
1999
+ const cwd = path.resolve(process.cwd(), options.cwd ?? ".");
2000
+ const policyPath = path.isAbsolute(options.policy) ? options.policy : path.resolve(cwd, options.policy);
2001
+ if (!existsSync(policyPath)) {
2002
+ warnOnce$1(`[${PACKAGE_NAME}] shadcn policy file "${policyPath}" was not found; continuing without it.`);
2003
+ return;
2004
+ }
2005
+ let parsed;
2006
+ try {
2007
+ parsed = JSON.parse(readFileSync(policyPath, "utf8"));
2008
+ } catch (error) {
2009
+ const message = error instanceof Error ? error.message : String(error);
2010
+ throw new Error(`[${PACKAGE_NAME}] Failed to read shadcn policy file "${policyPath}": ${message}`);
2011
+ }
2012
+ /**
2013
+ * Build the error thrown for a policy file with an invalid shape.
2014
+ *
2015
+ * @param {string} reason - What is wrong with the policy.
2016
+ * @returns {Error} The error to throw.
2017
+ */
2018
+ const invalid = (reason) => /* @__PURE__ */ new Error(`[${PACKAGE_NAME}] Invalid shadcn policy file "${policyPath}": ${reason}`);
2019
+ if (!isPlainObject(parsed)) throw invalid("the root must be an object");
2020
+ const policy = {};
2021
+ if (parsed.rules !== void 0) {
2022
+ if (!isPlainObject(parsed.rules)) throw invalid("\"rules\" must be an object");
2023
+ policy.rules = parsed.rules;
2024
+ }
2025
+ if (parsed.overrides !== void 0) {
2026
+ if (!Array.isArray(parsed.overrides)) throw invalid("\"overrides\" must be an array");
2027
+ policy.overrides = parsed.overrides.map((entry, index) => {
2028
+ if (!isPlainObject(entry)) throw invalid(`"overrides[${index}]" must be an object`);
2029
+ const { files, rules } = entry;
2030
+ if (!Array.isArray(files) || files.length === 0 || !files.every((file) => typeof file === "string")) throw invalid(`"overrides[${index}].files" must be a non-empty array of strings`);
2031
+ if (!isPlainObject(rules)) throw invalid(`"overrides[${index}].rules" must be an object`);
2032
+ return {
2033
+ files,
2034
+ rules
2035
+ };
2036
+ });
2037
+ }
2038
+ return policy;
2039
+ }
2040
+ /**
2041
+ * Check whether a value is a plain object (not `null` and not an array).
2042
+ *
2043
+ * @param {unknown} value - The value to check.
2044
+ * @returns {boolean} `true` when the value is a plain object.
2045
+ */
2046
+ function isPlainObject(value) {
2047
+ return typeof value === "object" && value !== null && !Array.isArray(value);
2048
+ }
2049
+ /**
2050
+ * Warn only once per process for a repeated shadcn policy message.
2051
+ *
2052
+ * @param {string} message - The warning message.
2053
+ */
2054
+ function warnOnce$1(message) {
2055
+ if (warnings$1.has(message)) return;
2056
+ warnings$1.add(message);
2057
+ console.warn(message);
2058
+ }
2059
+ //#endregion
1878
2060
  //#region src/configs/solid.ts
1879
2061
  async function solid(options = {}) {
1880
2062
  const { files = [GLOB_JSX, GLOB_TSX], overrides = {}, typescript = true } = options;
@@ -3237,7 +3419,7 @@ const defaultPluginRenaming = {
3237
3419
  * The merged ESLint configurations.
3238
3420
  */
3239
3421
  function config(options = {}, ...userConfigs) {
3240
- const { astro: enableAstro = false, autoRenamePlugins = true, componentExts = [], e18e: enableE18e = true, gitignore: enableGitignore = true, ignores: userIgnores = [], imports: enableImports = true, jsdoc: enableJSDoc = false, jsx: enableJsx = true, medusa: enableMedusa = false, nextjs: enableNextjs = false, pnpm: enableCatalogs = !!findUpSync("pnpm-workspace.yaml"), react: enableReact = false, regexp: enableRegexp = true, sanity: enableSanity = false, solid: enableSolid = false, storybook: enableStorybook = false, svelte: enableSvelte = false, tailwindcss: enableTailwindcss = false, typescript: enableTypeScript = isPackageExists("typescript"), unicorn: enableUnicorn = true, unocss: enableUnoCSS = false, vue: enableVue = VuePackages.some((i) => isPackageExists(i)) } = options;
3422
+ const { astro: enableAstro = false, autoRenamePlugins = true, componentExts = [], e18e: enableE18e = true, gitignore: enableGitignore = true, ignores: userIgnores = [], imports: enableImports = true, jsdoc: enableJSDoc = false, jsx: enableJsx = true, medusa: enableMedusa = false, nextjs: enableNextjs = false, pnpm: enableCatalogs = !!findUpSync("pnpm-workspace.yaml"), react: enableReact = false, regexp: enableRegexp = true, sanity: enableSanity = false, shadcn: enableShadcn = false, solid: enableSolid = false, storybook: enableStorybook = false, svelte: enableSvelte = false, tailwindcss: enableTailwindcss = false, typescript: enableTypeScript = isPackageExists("typescript"), unicorn: enableUnicorn = true, unocss: enableUnoCSS = false, vue: enableVue = VuePackages.some((i) => isPackageExists(i)) } = options;
3241
3423
  let isInEditor = options.isInEditor;
3242
3424
  if (isInEditor == null) {
3243
3425
  isInEditor = isInEditorEnv();
@@ -3305,6 +3487,12 @@ function config(options = {}, ...userConfigs) {
3305
3487
  tsconfigPath
3306
3488
  }));
3307
3489
  }
3490
+ if (enableShadcn) configs.push(shadcn({
3491
+ ...resolveSubOptions(options, "shadcn"),
3492
+ overrides: getOverrides(options, "shadcn"),
3493
+ svelte: !!enableSvelte,
3494
+ vue: !!enableVue
3495
+ }));
3308
3496
  if (options.test ?? true) configs.push(test({
3309
3497
  isInEditor,
3310
3498
  overrides: getOverrides(options, "test")
@@ -3414,6 +3602,7 @@ const CONFIG_PRESET_FULL_ON = {
3414
3602
  preset: "strict",
3415
3603
  schemaPath: "schema.json"
3416
3604
  },
3605
+ shadcn: true,
3417
3606
  solid: true,
3418
3607
  storybook: true,
3419
3608
  stylistic: { experimental: true },
@@ -3446,6 +3635,7 @@ const CONFIG_PRESET_FULL_OFF = {
3446
3635
  react: false,
3447
3636
  regexp: false,
3448
3637
  sanity: false,
3638
+ shadcn: false,
3449
3639
  solid: false,
3450
3640
  storybook: false,
3451
3641
  stylistic: false,
@@ -3460,4 +3650,4 @@ const CONFIG_PRESET_FULL_OFF = {
3460
3650
  yaml: false
3461
3651
  };
3462
3652
  //#endregion
3463
- export { CONFIG_PRESET_FULL_OFF, CONFIG_PRESET_FULL_ON, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SANITY, GLOB_SCSS, GLOB_SEARCH_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, PACKAGE_NAME, StylisticConfigDefaults, astro, combine, command, comments, config, config as inferno, defaultPluginRenaming, disables, e18e, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInCursorAgent, isInEditorEnv, isInGitHooksOrLintStaged, isInVSCodeESLintExtension, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, medusa, nextjs, node, normalizeRules, packageExportsSortOrder, packageSortOrder, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sanity, solid, sortPackageJson, sortTsconfig, storybook, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
3653
+ export { CONFIG_PRESET_FULL_OFF, CONFIG_PRESET_FULL_ON, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SANITY, GLOB_SCSS, GLOB_SEARCH_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_STORYBOOK, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, PACKAGE_NAME, StylisticConfigDefaults, astro, combine, command, comments, config, defaultPluginRenaming, disables, e18e, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInCursorAgent, isInEditorEnv, isInGitHooksOrLintStaged, isInVSCodeESLintExtension, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, medusa, nextjs, node, normalizeRules, packageExportsSortOrder, packageSortOrder, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sanity, shadcn, solid, sortPackageJson, sortTsconfig, storybook, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infernodesign/eslint-config",
3
3
  "description": "ESLint config for Inferno Design.",
4
- "version": "2.14.3",
4
+ "version": "2.15.1",
5
5
  "type": "module",
6
6
  "author": "Inferno Design <support@infernodesign.com>",
7
7
  "license": "MIT",
@@ -57,30 +57,30 @@
57
57
  "@eslint/config-helpers": "0.7.0",
58
58
  "@eslint/markdown": "8.0.3",
59
59
  "@stylistic/eslint-plugin": "5.10.0",
60
- "@typescript-eslint/eslint-plugin": "8.71.0",
61
- "@typescript-eslint/parser": "8.71.0",
62
- "@typescript-eslint/utils": "8.71.0",
60
+ "@typescript-eslint/eslint-plugin": "8.72.0",
61
+ "@typescript-eslint/parser": "8.72.0",
62
+ "@typescript-eslint/utils": "8.72.0",
63
63
  "@vitest/eslint-plugin": "1.6.27",
64
64
  "ansis": "4.4.0",
65
- "cac": "7.0.0",
65
+ "cac": "7.1.0",
66
66
  "eslint-config-flat-gitignore": "2.4.0",
67
67
  "eslint-flat-config-utils": "3.2.0",
68
68
  "eslint-merge-processors": "2.0.0",
69
69
  "eslint-plugin-antfu": "3.2.3",
70
70
  "eslint-plugin-command": "4.0.0",
71
71
  "eslint-plugin-import-lite": "0.6.0",
72
- "eslint-plugin-jsdoc": "65.1.0",
72
+ "eslint-plugin-jsdoc": "65.4.1",
73
73
  "eslint-plugin-jsonc": "3.4.2",
74
- "eslint-plugin-n": "18.4.1",
74
+ "eslint-plugin-n": "18.5.0",
75
75
  "eslint-plugin-no-only-tests": "3.4.0",
76
- "eslint-plugin-perfectionist": "5.12.1",
76
+ "eslint-plugin-perfectionist": "5.13.0",
77
77
  "eslint-plugin-pnpm": "1.9.1",
78
78
  "eslint-plugin-regexp": "3.3.1",
79
79
  "eslint-plugin-toml": "1.5.0",
80
- "eslint-plugin-unicorn": "77.0.0",
80
+ "eslint-plugin-unicorn": "78.0.0",
81
81
  "eslint-plugin-unused-imports": "4.4.1",
82
82
  "eslint-plugin-vue": "10.11.1",
83
- "eslint-plugin-yml": "3.8.1",
83
+ "eslint-plugin-yml": "3.9.0",
84
84
  "eslint-processor-vue-blocks": "2.0.0",
85
85
  "globals": "17.13.0",
86
86
  "jsonc-eslint-parser": "3.3.0",
@@ -91,66 +91,68 @@
91
91
  "yaml-eslint-parser": "2.1.0"
92
92
  },
93
93
  "devDependencies": {
94
- "@eslint-react/eslint-plugin": "5.24.4",
94
+ "@eslint-react/eslint-plugin": "5.28.6",
95
95
  "@eslint/config-inspector": "3.5.0",
96
96
  "@infernodesign/typescript-config": "workspace:*",
97
- "@medusajs/eslint-plugin": "2.21.2",
98
- "@next/eslint-plugin-next": "16.3.8",
97
+ "@medusajs/eslint-plugin": "2.22.0",
98
+ "@next/eslint-plugin-next": "16.4.2",
99
99
  "@prettier/plugin-xml": "3.4.2",
100
- "@sanity-labs/eslint-plugin": "1.0.1",
101
- "@types/bun": "1.4.2",
100
+ "@sanity-labs/eslint-plugin": "1.0.5",
101
+ "@shadcn/lint": "0.2.3",
102
+ "@types/bun": "1.4.3",
102
103
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
103
- "@types/node": "26.6.4",
104
- "@unocss/eslint-plugin": "66.10.5",
104
+ "@types/node": "26.6.5",
105
+ "@unocss/eslint-plugin": "66.11.0",
105
106
  "astro-eslint-parser": "3.2.0",
106
- "eslint": "10.12.0",
107
+ "eslint": "10.13.0",
107
108
  "eslint-plugin-astro": "3.2.1",
108
- "eslint-plugin-better-tailwindcss": "4.8.0",
109
+ "eslint-plugin-better-tailwindcss": "4.10.0",
109
110
  "eslint-plugin-erasable-syntax-only": "0.7.2",
110
111
  "eslint-plugin-format": "2.0.1",
111
112
  "eslint-plugin-jsx-a11y": "6.10.2",
112
113
  "eslint-plugin-react-refresh": "0.5.7",
113
114
  "eslint-plugin-solid": "0.18.1",
114
- "eslint-plugin-storybook": "10.6.1",
115
- "eslint-plugin-svelte": "3.23.0",
116
- "eslint-plugin-vuejs-accessibility": "2.6.0",
115
+ "eslint-plugin-storybook": "10.6.3",
116
+ "eslint-plugin-svelte": "3.23.1",
117
+ "eslint-plugin-vuejs-accessibility": "2.6.3",
117
118
  "eslint-typegen": "2.3.1",
118
- "execa": "10.0.1",
119
+ "execa": "10.2.0",
119
120
  "find-up-simple": "1.0.1",
120
121
  "jiti": "2.7.0",
121
122
  "pnpm-workspace-yaml": "1.9.1",
122
- "prettier-plugin-astro": "1.1.0",
123
+ "prettier-plugin-astro": "1.1.1",
123
124
  "prettier-plugin-slidev": "1.0.5",
124
- "svelte": "5.57.1",
125
- "svelte-eslint-parser": "1.8.1",
125
+ "svelte": "5.57.2",
126
+ "svelte-eslint-parser": "1.9.0",
126
127
  "tinyglobby": "0.2.17",
127
- "tsdown": "0.23.0",
128
+ "tsdown": "0.23.1",
128
129
  "typescript": "6.0.3",
129
- "vitest": "5.0.3",
130
- "vue": "3.5.43"
130
+ "vitest": "5.0.5",
131
+ "vue": "3.5.44"
131
132
  },
132
133
  "peerDependencies": {
133
- "@eslint-react/eslint-plugin": "^5.24.4",
134
- "@medusajs/eslint-plugin": "^2.21.2",
135
- "@next/eslint-plugin-next": "^16.3.8",
134
+ "@eslint-react/eslint-plugin": "^5.28.6",
135
+ "@medusajs/eslint-plugin": "^2.22.0",
136
+ "@next/eslint-plugin-next": "^16.4.2",
136
137
  "@prettier/plugin-xml": "^3.4.2",
137
- "@sanity-labs/eslint-plugin": "^1.0.1",
138
- "@unocss/eslint-plugin": "^66.10.5",
138
+ "@sanity-labs/eslint-plugin": "^1.0.5",
139
+ "@shadcn/lint": "^0.2.3",
140
+ "@unocss/eslint-plugin": "^66.11.0",
139
141
  "astro-eslint-parser": "^3.2.0",
140
- "eslint": "^10.12.0",
142
+ "eslint": "^10.13.0",
141
143
  "eslint-plugin-astro": "^3.2.1",
142
- "eslint-plugin-better-tailwindcss": "^4.8.0",
144
+ "eslint-plugin-better-tailwindcss": "^4.10.0",
143
145
  "eslint-plugin-erasable-syntax-only": "^0.7.2",
144
146
  "eslint-plugin-format": "^2.0.1",
145
147
  "eslint-plugin-jsx-a11y": "^6.10.2",
146
148
  "eslint-plugin-react-refresh": "^0.5.7",
147
149
  "eslint-plugin-solid": "^0.18.1",
148
- "eslint-plugin-storybook": "^10.6.1",
149
- "eslint-plugin-svelte": "^3.23.0",
150
- "eslint-plugin-vuejs-accessibility": "^2.6.0",
151
- "prettier-plugin-astro": "^1.1.0",
150
+ "eslint-plugin-storybook": "^10.6.3",
151
+ "eslint-plugin-svelte": "^3.23.1",
152
+ "eslint-plugin-vuejs-accessibility": "^2.6.3",
153
+ "prettier-plugin-astro": "^1.1.1",
152
154
  "prettier-plugin-slidev": "^1.0.5",
153
- "svelte-eslint-parser": "^1.8.1"
155
+ "svelte-eslint-parser": "^1.9.0"
154
156
  },
155
157
  "peerDependenciesMeta": {
156
158
  "@eslint-react/eslint-plugin": {
@@ -168,6 +170,9 @@
168
170
  "@sanity-labs/eslint-plugin": {
169
171
  "optional": true
170
172
  },
173
+ "@shadcn/lint": {
174
+ "optional": true
175
+ },
171
176
  "@unocss/eslint-plugin": {
172
177
  "optional": true
173
178
  },