Skip to content

Commit ce9a5ec

Browse files
chore: remove "recommended" docs meta as we're not using it
1 parent 3fb9028 commit ce9a5ec

20 files changed

+0
-20
lines changed

src/rules/functional-parameters.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
136136
docs: {
137137
category: "Currying",
138138
description: "Enforce functional parameters.",
139-
recommended: "error",
140139
},
141140
messages: errorMessages,
142141
schema,

src/rules/immutable-data.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
121121
docs: {
122122
category: "No Mutations",
123123
description: "Enforce treating data as immutable.",
124-
recommended: "error",
125124
},
126125
messages: errorMessages,
127126
schema,

src/rules/no-classes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
4040
docs: {
4141
category: "No Other Paradigms",
4242
description: "Disallow classes.",
43-
recommended: "error",
4443
},
4544
messages: errorMessages,
4645
schema,

src/rules/no-conditional-statements.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
8282
docs: {
8383
category: "No Statements",
8484
description: "Disallow conditional statements.",
85-
recommended: "error",
8685
},
8786
messages: errorMessages,
8887
schema,

src/rules/no-expression-statements.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
6363
docs: {
6464
category: "No Statements",
6565
description: "Disallow expression statements.",
66-
recommended: "strict",
6766
},
6867
messages: errorMessages,
6968
schema,

src/rules/no-let.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
7070
docs: {
7171
category: "No Mutations",
7272
description: "Disallow mutable variables.",
73-
recommended: "error",
7473
},
7574
messages: errorMessages,
7675
schema,

src/rules/no-loop-statements.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
4040
docs: {
4141
category: "No Statements",
4242
description: "Disallow imperative loops.",
43-
recommended: "error",
4443
},
4544
messages: errorMessages,
4645
schema,

src/rules/no-mixed-types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
7070
category: "No Other Paradigms",
7171
description:
7272
"Restrict types so that only members of the same kind are allowed in them.",
73-
recommended: "error",
7473
},
7574
messages: errorMessages,
7675
schema,

src/rules/no-promise-reject.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
4040
docs: {
4141
category: "No Exceptions",
4242
description: "Disallow try-catch[-finally] and try-finally patterns.",
43-
recommended: false,
4443
},
4544
messages: errorMessages,
4645
schema,

src/rules/no-return-void.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
7575
docs: {
7676
category: "No Statements",
7777
description: "Disallow functions that don't return anything.",
78-
recommended: "error",
7978
},
8079
messages: errorMessages,
8180
schema,

src/rules/no-this-expressions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
3939
docs: {
4040
category: "No Other Paradigms",
4141
description: "Disallow this access.",
42-
recommended: "strict",
4342
},
4443
messages: errorMessages,
4544
schema,

src/rules/no-throw-statements.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
5858
docs: {
5959
category: "No Exceptions",
6060
description: "Disallow throwing exceptions.",
61-
recommended: "error",
6261
},
6362
messages: errorMessages,
6463
schema,

src/rules/no-try-statements.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
6363
docs: {
6464
category: "No Exceptions",
6565
description: "Disallow try-catch[-finally] and try-finally patterns.",
66-
recommended: "strict",
6766
},
6867
messages: errorMessages,
6968
schema,

src/rules/prefer-immutable-types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
298298
category: "No Mutations",
299299
description:
300300
"Require function parameters to be typed as certain immutability",
301-
recommended: "error",
302301
},
303302
fixable: "code",
304303
hasSuggestions: true,

src/rules/prefer-property-signatures.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
5959
docs: {
6060
category: "Stylistic",
6161
description: "Prefer property signatures over method signatures.",
62-
recommended: false,
6362
},
6463
messages: errorMessages,
6564
schema,

src/rules/prefer-readonly-type.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
136136
docs: {
137137
category: "No Mutations",
138138
description: "Prefer readonly types over mutable types.",
139-
recommended: "error",
140139
},
141140
messages: errorMessages,
142141
fixable: "code",

src/rules/prefer-tacit.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
7474
docs: {
7575
category: "Stylistic",
7676
description: "Replaces `x => f(x)` with just `f`.",
77-
recommended: false,
7877
},
7978
messages: errorMessages,
8079
hasSuggestions: true,

src/rules/readonly-type.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
5858
category: "Stylistic",
5959
description:
6060
"Require consistently using either `readonly` keywords or `Readonly<T>`",
61-
recommended: "error",
6261
},
6362
fixable: "code",
6463
messages: errorMessages,

src/rules/type-declaration-immutability.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ const meta: NamedCreateRuleMetaWithCategory<keyof typeof errorMessages> = {
170170
docs: {
171171
category: "No Mutations",
172172
description: "Enforce the immutability of types based on patterns.",
173-
recommended: "error",
174173
},
175174
messages: errorMessages,
176175
fixable: "code",

tests/helpers/util.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export function createDummyRule(
8181
type: "suggestion",
8282
docs: {
8383
description: "Disallow mutable variables.",
84-
recommended: "error",
8584
url: "",
8685
},
8786
messages: {

0 commit comments

Comments
 (0)