Commit 165a6c2
feat: support eslint 10 (#4439)
* feat: add eslint 10 support
* fix: add eslint 10 for rest of modules
* fix: remove deprecated property
* fix: add change set
* Linting auto fix commit
* fix Jest 30 Enzyme compatibility by resolving Cheerio exports and required web API polyfills
* fix: failing test
* fix: failing test and review comment
* chore: merge main into feat/support-eslint-10 and resolve conflicts
- examples/fe-fpm-cli: take mains newer @types/vinyl and typescript-eslint
- examples/ui-prompting-examples: take mains css-loader 7.1.4, keep eslint 9.39.1 (React package)
- package.json: keep eslint 10.0.3 from PR; take mains newer @types/node, esbuild, typescript-eslint
- eslint-plugin-fiori-tools: peerDep eslint set to >=9 (supports both 9 and 10)
- eslint-plugin-fiori-tools/src/index.ts: keep fioriRules alias in both config exports
- preview-middleware-client/eslint.config.js: take mains corrected tseslint.plugin/parser usage
* chore: merge origin/main into feat/support-eslint-10 (batch 2)
* chore: update pnpm-lock.yaml after merging main into feat/support-eslint-10
* chore: remove WIP files that don't belong on this branch
Candidate 1 mta-config refactor files and RFC docs were accidentally
committed during the main merge. They belong on a separate
refactor/cf-deploy-config-mta-god-class branch.
* chore: consolidate eslint-10 changesets
* fix(ui-components): resolve cheerio/lib/utils to physical pnpm path for Jest moduleNameMapper
* test: improve coverage for eslint-10 migration changes
- sap-no-override-rendering: add valid/invalid cases with custom ns options
to cover the context.options[0]?.ns ternary branch
- create-table-custom-column-config-change: add test for findAnchor() IIFE
branch when metaPath does not contain 'LineItem', triggering
getLineItemAnnotation() to compute the annotation path
* fix: adapte peerDependencies
* Update packages/app-config-writer/test/unit/eslint-config/convert.test.ts
Co-authored-by: Dominik Heim <[email protected]>
* fix: remove un-used file
* fix: cst
* fix: exclude type declaration files from coverage
* fix: major bump for @sap-ux/eslint-plugin-fiori-tools
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: John Long <[email protected]>
Co-authored-by: Dominik Heim <[email protected]>1 parent a5b6bc9 commit 165a6c2
136 files changed
Lines changed: 915 additions & 755 deletions
File tree
- .changeset
- examples/ui-prompting-examples
- packages
- app-config-writer
- src/eslint-config
- test/unit/eslint-config
- control-property-editor
- eslint-plugin-fiori-tools
- src
- language
- annotations
- json
- xml
- project-context/parser
- rules
- utils
- test/rules
- fiori-app-sub-generator/test/int
- fiori-elements/expected-output
- alp_v4_cap_typescript/app/alp_v4_cap_typescript
- lrop_v2_eslint
- lrop_v2_typescript
- fiori-freestyle/expected-output
- simple_eslint
- simple_typescript
- fiori-elements-writer/test/__snapshots__
- fiori-freestyle-writer/test/__snapshots__
- preview-middleware-client
- src
- adp/quick-actions/fe-v4
- cpe
- test/unit/adp/quick-actions
- ui-components
- test
- ui5-application-writer
- templates/optional/eslint
- test
- __snapshots__
- ui5-library-sub-generator/test/unit/expected-output/tslibrary1
- ui5-library-writer
- templates/optional/typescript
- test/__snapshots__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
| 623 | + | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
| 663 | + | |
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
766 | | - | |
| 765 | + | |
| 766 | + | |
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | | - | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
493 | 495 | | |
494 | 496 | | |
495 | 497 | | |
496 | | - | |
| 498 | + | |
497 | 499 | | |
498 | 500 | | |
499 | 501 | | |
| |||
507 | 509 | | |
508 | 510 | | |
509 | 511 | | |
510 | | - | |
| 512 | + | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
| |||
0 commit comments