Skip to content

Commit a0bf7ab

Browse files
committed
refactor: improve 'RuleFeature' type
1 parent f9f562b commit a0bf7ab

File tree

77 files changed

+83
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+83
-82
lines changed

packages/plugins/eslint-plugin-react-dom/src/rules/no-children-in-void-dom-elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createRule } from "../utils";
88
export const RULE_NAME = "no-children-in-void-dom-elements";
99

1010
export const RULE_FEATURES = [
11-
"LNT",
11+
"CHK",
1212
] as const satisfies RuleFeature[];
1313

1414
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml-with-children.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { createRule } from "../utils";
99
export const RULE_NAME = "no-dangerously-set-innerhtml-with-children";
1010

1111
export const RULE_FEATURES = [
12-
"LNT",
12+
"CHK",
1313
] as const satisfies RuleFeature[];
1414

1515
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createRule } from "../utils";
88
export const RULE_NAME = "no-dangerously-set-innerhtml";
99

1010
export const RULE_FEATURES = [
11-
"LNT",
11+
"CHK",
1212
] as const satisfies RuleFeature[];
1313

1414
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-find-dom-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { createRule } from "../utils";
77
export const RULE_NAME = "no-find-dom-node";
88

99
export const RULE_FEATURES = [
10-
"LNT",
10+
"CHK",
1111
] as const satisfies RuleFeature[];
1212

1313
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-missing-button-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { createRule } from "../utils";
99
export const RULE_NAME = "no-missing-button-type";
1010

1111
export const RULE_FEATURES = [
12-
"LNT",
12+
"CHK",
1313
] as const satisfies RuleFeature[];
1414

1515
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-missing-iframe-sandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { createRule } from "../utils";
99
export const RULE_NAME = "no-missing-iframe-sandbox";
1010

1111
export const RULE_FEATURES = [
12-
"LNT",
12+
"CHK",
1313
] as const satisfies RuleFeature[];
1414

1515
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-namespace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createRule } from "../utils";
88
export const RULE_NAME = "no-namespace";
99

1010
export const RULE_FEATURES = [
11-
"LNT",
11+
"CHK",
1212
] as const satisfies RuleFeature[];
1313

1414
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-render-return-value.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createRule } from "../utils";
88
export const RULE_NAME = "no-render-return-value";
99

1010
export const RULE_FEATURES = [
11-
"LNT",
11+
"CHK",
1212
] as const satisfies RuleFeature[];
1313

1414
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-script-url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { createRule } from "../utils";
1010
export const RULE_NAME = "no-script-url";
1111

1212
export const RULE_FEATURES = [
13-
"LNT",
13+
"CHK",
1414
] as const satisfies RuleFeature[];
1515

1616
export type MessageID = CamelCase<typeof RULE_NAME>;

packages/plugins/eslint-plugin-react-dom/src/rules/no-unknown-property.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { RuleFeature } from "@eslint-react/types";
1616
export const RULE_NAME = "no-unknown-property";
1717

1818
export const RULE_FEATURES = [
19-
"LNT",
19+
"CHK",
2020
"FIX",
2121
] as const satisfies RuleFeature[];
2222

0 commit comments

Comments
 (0)