Commit 418717f
feat: introduce new deprecated types for rules (#19238)
* feat: introduce new deprecated types
* feat: rules use new deprecated format
* feat: support new deprecated format in usedDeprecatedRules
* docs: document new deprecated format
* fix: Use formatting rules instead of stylistic rules are being removed
* fix: Clarify the replacement is from ESLint Stylistic
* docs: automatically add deprecated rules notice
* docs: handle missing replacement rule for rule deprecations
* docs: stop checking for manually added rule deprecation notices
* docs: apply suggestions
* docs: fix lint errors
* docs: Clarify null for availableUntil is not the same as frozen
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: rule deprecation messages for node and various suggestions
* fix: internal links
* fix: sync deprecated node rules messages and descriptions
* fix: add rule deprecation type tests
* fix: re-add .md file extension for rules from eslint-plugin-n
* fix: add periods to sentence ends
* fix: showing rule replacements for deprecated and removed rules in rule overview
* fix: add urls for replacement of deprecated rules in favor of padding-line-between-statements
* fix: always provide a rule meta.deprecated.url
* fix: alias func-call-spacing as the replacement rule is renamed to keep internal link
* fix: convert callback-return and indent-legacy to new deprecated format
* fix: normalize deprecated rule messages
* chore: fix single quotes in eslint tests
* fix: use external links to rule replacements in the rule reference
* fix: remove shadowing of rule in makefile
* fix: add external plugin reference for deprecated rules in the rule reference
* fix: remove manual deprecation notice of no-new-object
* fix: cleanup rule-list macro
* fix: update rule-list documentation
* fix: use DeprecatedInfo type from @eslint/core
* fix: use shorthand plugin names for usedDeprecatedRules
* fix: restore check for deprecated JSDoc tags for rule files
* fix: adjust JSDoc description and error message as README no longer checked
* fix: use correct name in deprecation info for arrow-spacing
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: use correct name in deprecation info for multiline-comment-style
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: correct package source of eslint-plugin-n in replacement infos
* fix: rule docs site uses relative pages for internal rule replacements
* fix: deprecation rule for no-buffer-constructor
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: deprecation rule for no-restricted-modules
Co-authored-by: Milos Djermanovic <[email protected]>
* docs: Add dot at the end of a core rule replacement.
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: use relative links for replacement rules in the rule reference
* fix: rule-type-list data for removed rules use new replacement format
* fix: no rendering of replacement rule lists if there are no replacements
* fix: run pretteir on rule-type-list.json
* docs: change description of `url` for deprecation meta
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: deprecation version of no-spaced-fnc
Co-authored-by: Milos Djermanovic <[email protected]>
* fix: replacement rule of no-new-symbol
Co-authored-by: Milos Djermanovic <[email protected]>
---------
Co-authored-by: Milos Djermanovic <[email protected]>1 parent 3401b85 commit 418717f
File tree
205 files changed
+5258
-887
lines changed- conf
- docs/src
- _data
- _includes
- components
- layouts
- extend
- integrate
- library
- rules
- lib
- eslint
- rules
- types
- tests
- bin
- lib
- cli-engine
- eslint
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
205 files changed
+5258
-887
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | 754 | | |
756 | | - | |
| 755 | + | |
757 | 756 | | |
758 | 757 | | |
759 | 758 | | |
| |||
797 | 796 | | |
798 | 797 | | |
799 | 798 | | |
800 | | - | |
| 799 | + | |
801 | 800 | | |
802 | 801 | | |
803 | 802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
27 | 91 | | |
28 | 92 | | |
29 | 93 | | |
| |||
0 commit comments