-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Set default
schema: []
, drop support for function-style rules (
#17792) * drop support for function-style rules in flat-rule-tester * drop support for function-style rules in rule-tester * drop support for function-style rules in config-rule (eslint-fuzzer) * add rule object checks to rule testers * drop support for function-style rules in flat config and Linter#defineRule * update JSDoc * add rule object checks to Linter * drop support for function-style rules in eslintrc * remove custom-rules-deprecated.md * update flat config getRuleOptionsSchema for schema changes * add back and update custom-rules-deprecated.md * show ruleId in error messages for invalid schema * throw error in Linter if rule has invalid schema * add short description of meta.schema to type errors in flat-rule-tester * throw error for empty object schema in flat-rule-tester * update rule-tester for schema changes * add integration tests for eslintrc schema changes * add more flat-config-array unit tests for schema changes * throw error in Linter in eslintrc mode if rule has invalid schema * update docs for schema changes * use eslintrc v3
- Loading branch information
1 parent
1da0723
commit fb81b1c
Showing
36 changed files
with
1,638 additions
and
1,008 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.