Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat!: angular-eslint v20 #2448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

feat!: angular-eslint v20 #2448

wants to merge 9 commits into from

Conversation

JamesHenry
Copy link
Member

@JamesHenry JamesHenry commented May 24, 2025

The contents of this branch are already available to use under the prerelease-v20 dist tag on npm:

https://www.npmjs.com/package/angular-eslint/v/prerelease-v20


Final Items before 20.0.0:

  • Required: Double check remaining recommended rules do not contravene the rewritten Angular style guide
  • Nice to have: Fix up style guide links and description to match the rewritten Angular style guide (will otherwise come in patch releases on 20.x.x)

## TODOs Completed Items


Fixes #2206
FIxes #2481

@JamesHenry JamesHenry added this to the v20 milestone May 24, 2025
Copy link

nx-cloud bot commented May 24, 2025

View your CI Pipeline Execution ↗ for commit cc39c58.

Command Status Duration Result
nx run-many -t e2e-suite --parallel 1 ✅ Succeeded 35s View ↗
nx run-many -t test --codeCoverage ✅ Succeeded 1m 32s View ↗
nx run-many -t build,typecheck,check-rule-docs,... ✅ Succeeded 53s View ↗
nx-cloud record -- pnpm nx sync:check ✅ Succeeded 3s View ↗
nx-cloud record -- pnpm format-check ✅ Succeeded 5s View ↗
nx run-many -t test ✅ Succeeded 55s View ↗
nx run-many -t build ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-02 10:39:10 UTC

@JamesHenry
Copy link
Member Author

JamesHenry commented May 24, 2025

@reduckted Please see 51691cf an existing test case of yours causes a parse error now after your PR to switch them on by default

@JamesHenry JamesHenry added the BREAKING CHANGE This is a breaking change and should only be released as part of a new major version label May 24, 2025
Copy link

codecov bot commented May 24, 2025

Codecov Report

Attention: Patch coverage is 82.95455% with 15 lines in your changes missing coverage. Please review.

Project coverage is 92.68%. Comparing base (0d02cc2) to head (cc39c58).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...ugin-template/src/rules/prefer-template-literal.ts 75.55% 10 Missing and 1 partial ⚠️
...plate/src/rules/prefer-contextual-for-variables.ts 81.25% 1 Missing and 2 partials ⚠️
...lint-plugin-template/src/rules/no-negated-async.ts 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2448      +/-   ##
==========================================
- Coverage   92.91%   92.68%   -0.24%     
==========================================
  Files         200      201       +1     
  Lines        4220     4249      +29     
  Branches      993      997       +4     
==========================================
+ Hits         3921     3938      +17     
- Misses        230      242      +12     
  Partials       69       69              
Flag Coverage Δ
unittest 92.68% <82.95%> (-0.24%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...lugin-template/src/rules/conditional-complexity.ts 100.00% <100.00%> (ø)
...plate/src/utils/unwrap-parenthesized-expression.ts 100.00% <100.00%> (ø)
...eslint-plugin-template/tests/rules/eqeqeq/cases.ts 100.00% <ø> (ø)
...s/eslint-plugin-template/tests/rules/i18n/cases.ts 100.00% <ø> (ø)
...n-template/tests/rules/no-call-expression/cases.ts 100.00% <ø> (ø)
...-plugin-template/tests/rules/prefer-ngsrc/cases.ts 100.00% <ø> (ø)
...plate/tests/rules/prefer-template-literal/cases.ts 100.00% <ø> (ø)
.../eslint-plugin/src/rules/component-class-suffix.ts 91.66% <ø> (-0.65%) ⬇️
.../eslint-plugin/src/rules/directive-class-suffix.ts 95.23% <ø> (-0.22%) ⬇️
packages/eslint-plugin/src/rules/prefer-inject.ts 78.12% <ø> (ø)
... and 8 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@reduckted
Copy link
Contributor

@reduckted Please see 51691cf an existing test case of yours causes a parse error now after your PR to switch them on by default

Fixed in #2450.

@JamesHenry JamesHenry reopened this May 25, 2025
@JamesHenry JamesHenry force-pushed the next-major-release/v20 branch 4 times, most recently from 19311a3 to cbd76c4 Compare May 27, 2025 14:19
@angular-eslint angular-eslint deleted a comment from claude bot May 27, 2025
@angular-eslint angular-eslint deleted a comment from claude bot May 27, 2025
@JamesHenry JamesHenry force-pushed the next-major-release/v20 branch 2 times, most recently from d29cd95 to c495e5d Compare May 28, 2025 18:08
@JamesHenry JamesHenry force-pushed the next-major-release/v20 branch 2 times, most recently from 1fd2730 to 17c56ad Compare June 1, 2025 07:44
@JamesHenry JamesHenry force-pushed the next-major-release/v20 branch from 17c56ad to 20fd42c Compare June 2, 2025 10:31
@JamesHenry JamesHenry force-pushed the next-major-release/v20 branch from 20fd42c to cc39c58 Compare June 2, 2025 10:34
@JamesHenry JamesHenry marked this pull request as ready for review June 2, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGE This is a breaking change and should only be released as part of a new major version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[sort-keys-in-type-decorator] should include "host" [@angular-eslint/prefer-standalone] The rule prefer-standalone should not be "fixable"
2 participants