Commit 3be8bb2
Testing: Enable no-unused-disable ESLint Comments plugin rule (#72940)
* Testing: Enable no-unused-disable ESLint Comments plugin rule
* Fix existing issues with no-unused-disable
* Remove "disable reason" comments that don't refer to anything
* Fix more formatting irregularities
* Ignore generated icon files for ESLint
These files are auto-generated, and expected to have some formatting issues. However, blanket disabling Prettier is incompatible with no-unused-disable because some of the files are fine as-is.
A better long-term solution would be to apply Prettier to the generated output, similar to what's done in `packages/theme` for Theme artifacts.
* Resolve issues after changing ESLint resolver
Co-authored-by: aduth <aduth@git.wordpress.org>
Co-authored-by: swissspidy <swissspidy@git.wordpress.org>
Co-authored-by: manzoorwanijk <manzoorwanijk@git.wordpress.org>1 parent bf390b4 commit 3be8bb2
File tree
82 files changed
+25
-188
lines changed- bin
- packages
- autop/src
- block-directory/src/plugins/get-install-missing
- block-editor/src
- components
- block-popover
- iframe
- link-control
- list-view
- media-replace-flow
- rich-text
- layouts
- store
- block-library/src
- comment-author-name
- comment-template
- form
- gallery
- image
- media-text
- site-logo
- table-of-contents
- blocks/src/api
- test
- components/src
- button/test
- composite/legacy
- context
- number-control/test
- progress-bar/test
- select-control
- utils
- hooks
- compose/src
- higher-order/with-global-events
- hooks
- use-copy-on-click
- use-focus-outside
- use-keyboard-shortcut
- use-merge-refs
- docgen/lib
- dom/src/dom
- e2e-test-utils/src
- edit-site/src/utils
- editor/src/store
- env/lib
- config/test
- global-styles-ui/src/font-library-modal
- utils
- i18n/src/test
- icons/lib
- interactivity/src
- proxies/test
- react-native-editor
- __device-tests__
- helpers
- sync/src/providers/y-webrtc
- theme
- bin/generate-primitive-tokens
- src
- color-ramps
- lib
- test
- test
- e2e/specs/editor/various
- performance/specs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
82 files changed
+25
-188
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | 433 | | |
435 | 434 | | |
436 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| |||
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
256 | | - | |
257 | 255 | | |
258 | 256 | | |
259 | 257 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | 345 | | |
349 | 346 | | |
350 | 347 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
| |||
0 commit comments