Commit e0d0f78
feat(linter): verify promise/no-callback-in-promise schema (#23141)
## Summary
- verify the `promise/no-callback-in-promise` config schema
- remove the rule from `NO_VERIFIED_VALID_SCHEMA`
- regenerate the oxlint JSON schema, website schema snapshot, and
generated TypeScript config type
Part of #22955.
## Verification
- `cargo test -p oxc_linter no_callback_in_promise --lib`
- `cargo test -p website_linter schema_json`
- `cargo run -p website_linter schema-json >
/tmp/oxc_no_callback_schema.json && cmp /tmp/oxc_no_callback_schema.json
npm/oxlint/configuration_schema.json`
- `cargo fmt --check`
- `git diff --check`
---------
Signed-off-by: Cameron <[email protected]>
Co-authored-by: Bean Labs <[email protected]>
Co-authored-by: Cameron <[email protected]>
Co-authored-by: Alexander S. <[email protected]>1 parent de2d23b commit e0d0f78
6 files changed
Lines changed: 93 additions & 16 deletions
File tree
- apps/oxlint/src-js/package
- crates/oxc_linter/src
- rules/promise
- utils
- npm/oxlint
- tasks/website_linter/src
- rules/snapshots
- snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
1126 | | - | |
| 1126 | + | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
| |||
3804 | 3804 | | |
3805 | 3805 | | |
3806 | 3806 | | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
| 3810 | + | |
| 3811 | + | |
| 3812 | + | |
| 3813 | + | |
| 3814 | + | |
| 3815 | + | |
| 3816 | + | |
3807 | 3817 | | |
3808 | 3818 | | |
3809 | 3819 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4758 | 4758 | | |
4759 | 4759 | | |
4760 | 4760 | | |
4761 | | - | |
| 4761 | + | |
| 4762 | + | |
| 4763 | + | |
| 4764 | + | |
| 4765 | + | |
| 4766 | + | |
| 4767 | + | |
| 4768 | + | |
| 4769 | + | |
| 4770 | + | |
| 4771 | + | |
| 4772 | + | |
| 4773 | + | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
4762 | 4779 | | |
4763 | 4780 | | |
4764 | 4781 | | |
| |||
10113 | 10130 | | |
10114 | 10131 | | |
10115 | 10132 | | |
| 10133 | + | |
| 10134 | + | |
| 10135 | + | |
| 10136 | + | |
| 10137 | + | |
| 10138 | + | |
| 10139 | + | |
| 10140 | + | |
| 10141 | + | |
| 10142 | + | |
| 10143 | + | |
| 10144 | + | |
| 10145 | + | |
| 10146 | + | |
| 10147 | + | |
| 10148 | + | |
| 10149 | + | |
| 10150 | + | |
| 10151 | + | |
| 10152 | + | |
| 10153 | + | |
10116 | 10154 | | |
10117 | 10155 | | |
10118 | 10156 | | |
| |||
14248 | 14286 | | |
14249 | 14287 | | |
14250 | 14288 | | |
14251 | | - | |
| 14289 | + | |
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | 950 | | |
960 | 951 | | |
961 | 952 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4762 | 4762 | | |
4763 | 4763 | | |
4764 | 4764 | | |
4765 | | - | |
| 4765 | + | |
| 4766 | + | |
| 4767 | + | |
| 4768 | + | |
| 4769 | + | |
| 4770 | + | |
| 4771 | + | |
| 4772 | + | |
| 4773 | + | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
4766 | 4783 | | |
4767 | 4784 | | |
4768 | 4785 | | |
| |||
10117 | 10134 | | |
10118 | 10135 | | |
10119 | 10136 | | |
| 10137 | + | |
| 10138 | + | |
| 10139 | + | |
| 10140 | + | |
| 10141 | + | |
| 10142 | + | |
| 10143 | + | |
| 10144 | + | |
| 10145 | + | |
| 10146 | + | |
| 10147 | + | |
| 10148 | + | |
| 10149 | + | |
| 10150 | + | |
| 10151 | + | |
| 10152 | + | |
| 10153 | + | |
| 10154 | + | |
| 10155 | + | |
| 10156 | + | |
| 10157 | + | |
10120 | 10158 | | |
10121 | 10159 | | |
10122 | 10160 | | |
| |||
0 commit comments