Commit aae6717
authored
fix: sync rule type header comments automatically (#19276)
* fix: sync rule type header comments
* replace string instead of regex
* use `unicorn/prefer-string-slice` instead of `no-restricted-properties`
* update only new and modified rule types on commit hook, update all rule types on release
* apply review suggestions
* run npm script in CI1 parent 8a0a5a8 commit aae6717
13 files changed
Lines changed: 766 additions & 338 deletions
File tree
- .github/workflows
- lib/types/rules
- packages/eslint-config-eslint
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
326 | 341 | | |
327 | 342 | | |
328 | 343 | | |
| |||
356 | 371 | | |
357 | 372 | | |
358 | 373 | | |
359 | | - | |
360 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
361 | 379 | | |
362 | 380 | | |
363 | 381 | | |
| |||
0 commit comments