Skip to content

Commit

Permalink
feat(eslint-plugin): final final config changes for v6
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jul 1, 2023
1 parent 42fe29f commit e7597f9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default util.createRule<Options, MessageId>({
docs: {
description:
'Require expressions of type void to appear in statement position',
recommended: 'stylistic',
recommended: 'strict',
requiresTypeChecking: true,
},
messages: {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/no-explicit-any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default util.createRule<Options, MessageIds>({
type: 'suggestion',
docs: {
description: 'Disallow the `any` type',
recommended: 'strict',
recommended: 'recommended',
},
fixable: 'code',
hasSuggestions: true,
Expand Down
1 change: 0 additions & 1 deletion packages/eslint-plugin/src/rules/sort-type-constituents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export default util.createRule<Options, MessageIds>({
docs: {
description:
'Enforce constituents of a type union/intersection to be sorted alphabetically',
recommended: 'stylistic',
},
fixable: 'code',
hasSuggestions: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default util.createRule<Options, MessageId>({
allowNullableBoolean: false,
allowNullableString: false,
allowNullableNumber: false,
allowNullableEnum: true,
allowNullableEnum: false,
allowAny: false,
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
},
Expand Down

0 comments on commit e7597f9

Please sign in to comment.