Commit 44bbd7d
authored
feat: move all eslint-related stuff to main repo (#875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <[email protected]>
Co-authored-by: Zhousg <[email protected]>
Co-authored-by: Thorsten Lünborg <[email protected]>
Co-authored-by: Cédric Exbrayat <[email protected]>
Co-authored-by: Anton Lilleby <[email protected]>
Co-authored-by: Dmytro Tsysar <[email protected]>
Co-authored-by: btea <[email protected]>
It's becoming harder and harder to maintain `@vue/create-eslint-config` separately as the tooling space evolves. So I decided to merge it back to the main repo.
The functionality remains mostly the same, except that we now explicitly generate an oxlint config file instead of passing options via CLI args.
Previously, I was adding `--ignore-path .gitignore` to oxlint commands, but it turns out `.gitignore` is automatically respected inside a git repo[^1]. So I skipped that part.
The general idea of this refactoring is that each general feature should be self-contained inside its own template folder (`linting` and `formatting` in this PR, in parallel with `tsconfig` and other stuff), so that in the future we can test them independently or even publish them as separate packages again. Still a lot of work to do in that direction, but this is a start.
[^1]: https://oxc.rs/docs/guide/usage/linter/cli.html#ignore-files1 parent 0d53f58 commit 44bbd7d
File tree
43 files changed
+391
-408
lines changed- __test__
- template
- config/typescript
- eslint
- formatting
- oxfmt
- .vscode
- prettier
- .vscode
- linting
- base
- .vscode
- core
- js
- ts
- cypress-ct
- cypress
- oxlint
- .vscode
- playwright
- prettier
- vitest
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+391
-408
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | 450 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
511 | 510 | | |
512 | 511 | | |
513 | 512 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
| 513 | + | |
| 514 | + | |
526 | 515 | | |
527 | | - | |
528 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
529 | 542 | | |
530 | 543 | | |
531 | 544 | | |
532 | | - | |
| 545 | + | |
| 546 | + | |
533 | 547 | | |
534 | 548 | | |
535 | 549 | | |
| |||
615 | 629 | | |
616 | 630 | | |
617 | 631 | | |
618 | | - | |
| 632 | + | |
619 | 633 | | |
620 | 634 | | |
621 | 635 | | |
| |||
694 | 708 | | |
695 | 709 | | |
696 | 710 | | |
697 | | - | |
| 711 | + | |
698 | 712 | | |
699 | 713 | | |
700 | 714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments