@flint.fyi/rule-data 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +5 -5
  2. package/package.json +34 -34
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { z } from "zod/v4";
2
2
  import { AnyRule } from "@flint.fyi/core";
3
3
  //#region src/getRuleForPlugin.d.ts
4
- declare function getRuleForPlugin(pluginId: string, ruleId: string): AnyRule;
5
- declare function getRuleForPluginSafe(pluginId: string, ruleId: string): AnyRule | undefined;
4
+ export declare function getRuleForPlugin(pluginId: string, ruleId: string): AnyRule;
5
+ export declare function getRuleForPluginSafe(pluginId: string, ruleId: string): AnyRule | undefined;
6
6
  //#endregion
7
7
  //#region src/schemas.d.ts
8
8
  type FlintPlugin = "astro" | "browser" | "css" | "drizzle" | "flint" | "graphql" | "jest" | "json" | "jsx" | "md" | "next" | "node" | "nuxt" | "package-json" | "performance" | "playwright" | "qwik" | "react" | "react-native" | "security" | "solid" | "spelling" | "svelte" | "ts" | "vitest" | "vue" | "yaml";
@@ -22,7 +22,7 @@ interface LinterRuleReference {
22
22
  name: string;
23
23
  url: string;
24
24
  }
25
- declare const linterNames: {
25
+ export declare const linterNames: {
26
26
  readonly biome: "Biome";
27
27
  readonly deno: "Deno";
28
28
  readonly eslint: "ESLint";
@@ -38,7 +38,7 @@ interface RuleDetails extends AlternateLinterDetails {
38
38
  type AlternateLinterDetails = Partial<Record<LinterName, LinterRuleReference[]>>;
39
39
  //#endregion
40
40
  //#region src/ruleData.d.ts
41
- declare function getFlintRuleId(pluginId: string, ruleId: string): string;
41
+ export declare function getFlintRuleId(pluginId: string, ruleId: string): string;
42
42
  declare const ruleData: RuleDetails[];
43
43
  //#endregion
44
- export { type FlintRuleReference, type LinterName, type LinterRuleReference, type RuleDetails, getFlintRuleId, getRuleForPlugin, getRuleForPluginSafe, linterNames, ruleData };
44
+ export { type FlintRuleReference, type LinterName, type LinterRuleReference, type RuleDetails, ruleData };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flint.fyi/rule-data",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Data for all of Flint's rules and mappings between Flint and other web linters.",
5
5
  "homepage": "https://flint.fyi",
6
6
  "repository": {
@@ -22,60 +22,60 @@
22
22
  "dist/"
23
23
  ],
24
24
  "dependencies": {
25
- "@flint.fyi/astro": "^0.5.1",
26
- "@flint.fyi/browser": "^0.5.1",
27
- "@flint.fyi/core": "^0.26.0",
28
- "@flint.fyi/css": "^0.3.1",
29
- "@flint.fyi/json": "^0.18.1",
30
- "@flint.fyi/jsx": "^0.6.1",
31
- "@flint.fyi/md": "^0.17.1",
32
- "@flint.fyi/node": "^0.5.1",
33
- "@flint.fyi/package-json": "^0.21.1",
34
- "@flint.fyi/performance": "^0.5.1",
35
- "@flint.fyi/plugin-flint": "^0.8.1",
36
- "@flint.fyi/spelling": "^0.4.1",
37
- "@flint.fyi/ts": "^0.23.2",
38
- "@flint.fyi/vitest": "^0.4.1",
39
- "@flint.fyi/yaml": "^0.17.1",
40
- "zod": "^4.3.6"
25
+ "@flint.fyi/astro": "^0.5.2",
26
+ "@flint.fyi/browser": "^0.5.2",
27
+ "@flint.fyi/core": "^0.27.0",
28
+ "@flint.fyi/css": "^0.3.2",
29
+ "@flint.fyi/json": "^0.18.2",
30
+ "@flint.fyi/jsx": "^0.6.2",
31
+ "@flint.fyi/md": "^0.17.2",
32
+ "@flint.fyi/node": "^0.5.2",
33
+ "@flint.fyi/package-json": "^0.21.2",
34
+ "@flint.fyi/performance": "^0.5.2",
35
+ "@flint.fyi/plugin-flint": "^0.8.2",
36
+ "@flint.fyi/spelling": "^0.4.2",
37
+ "@flint.fyi/ts": "^0.23.3",
38
+ "@flint.fyi/vitest": "^0.4.2",
39
+ "@flint.fyi/yaml": "^0.17.2",
40
+ "zod": "^4.5.4"
41
41
  },
42
42
  "devDependencies": {
43
- "@biomejs/biome": "2.5.11",
43
+ "@biomejs/biome": "2.5.14",
44
44
  "@emnapi/core": "1.11.3",
45
45
  "@emnapi/runtime": "1.11.3",
46
- "@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
47
- "@eslint/json": "2.0.1",
46
+ "@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
47
+ "@eslint/json": "2.1.0",
48
48
  "@eslint/markdown": "8.0.3",
49
49
  "@flint.fyi/build": "^0.1.0",
50
- "@next/eslint-plugin-next": "16.3.3",
50
+ "@next/eslint-plugin-next": "16.3.5",
51
51
  "@nuxt/eslint-plugin": "1.17.0",
52
52
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
53
53
  "@types/eslint-plugin-promise": "7.3.0",
54
- "@typescript-eslint/eslint-plugin": "8.68.0",
54
+ "@typescript-eslint/eslint-plugin": "8.70.0",
55
55
  "@vitest/eslint-plugin": "1.6.27",
56
- "eslint": "10.9.1",
57
- "eslint-plugin-astro": "3.1.0",
56
+ "eslint": "10.10.0",
57
+ "eslint-plugin-astro": "3.2.0",
58
58
  "eslint-plugin-eslint-plugin": "7.6.2",
59
59
  "eslint-plugin-import": "2.32.0",
60
- "eslint-plugin-jsdoc": "64.3.2",
60
+ "eslint-plugin-jsdoc": "64.5.2",
61
61
  "eslint-plugin-jsonc": "3.4.2",
62
62
  "eslint-plugin-jsx-a11y": "6.10.2",
63
63
  "eslint-plugin-n": "18.3.0",
64
- "eslint-plugin-package-json": "1.8.0",
65
- "eslint-plugin-perfectionist": "5.11.0",
64
+ "eslint-plugin-package-json": "1.8.1",
65
+ "eslint-plugin-perfectionist": "5.11.1",
66
66
  "eslint-plugin-promise": "7.3.0",
67
67
  "eslint-plugin-react": "7.37.5",
68
68
  "eslint-plugin-react-hooks": "7.1.1",
69
- "eslint-plugin-regexp": "3.2.0",
70
- "eslint-plugin-solid": "0.17.0",
69
+ "eslint-plugin-regexp": "3.3.0",
70
+ "eslint-plugin-solid": "0.18.0",
71
71
  "eslint-plugin-svelte": "3.23.0",
72
- "eslint-plugin-unicorn": "74.0.0",
73
- "eslint-plugin-vue": "10.10.0",
72
+ "eslint-plugin-unicorn": "75.0.0",
73
+ "eslint-plugin-vue": "10.11.0",
74
74
  "eslint-plugin-yml": "3.8.1",
75
75
  "markdownlint": "0.41.1",
76
- "oxlint": "1.80.0",
77
- "tsdown": "0.22.14",
78
- "vitest": "4.1.11",
76
+ "oxlint": "1.83.0",
77
+ "tsdown": "0.23.0",
78
+ "vitest": "5.0.1",
79
79
  "vue-eslint-parser": "10.4.1"
80
80
  },
81
81
  "engines": {