28 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
f39c1f991e
cleanup(linter): deprecate the Linter enum (#30875)
Properly deprecate the `Linter` enum in favor of the `LinterType` union
type and remove unneeded internal usages.
2025-04-29 12:39:36 -04:00
Colum Ferry
c71a7832b9
fix(angular): ensure crystal targets for testing when bundler=rspack (#30631)
## Current Behavior
Angular Rspack relies on Inferred Targets however, when scaffolding the
application, the unit test runners are being set up with executors.

## Expected Behavior
Ensure that when `bundler=rspack` unit test runners are being set up
with inference plugins
2025-04-10 11:06:15 +01:00
Leosvel Pérez Espinosa
db4544844c
fix(angular): do not generate @nx/dependency-checks block in flat root eslint config (#29980)
## Current Behavior

Generating a buildable Angular library results in a block for the
`@nx/dependency-checks` being added to the root ESLint Flat Config file
every time.

## Expected Behavior

Generating a buildable Angular library should not add a block for the
`@nx/dependency-checks` to the root ESLint Flat Config file. The
configuration is meant to be added to the project configuration, which
it already does.

## Related Issue(s)

Fixes #29970
2025-02-11 17:06:44 +01:00
James Henry
68eeb2eeed
feat(linter): create new workspaces with ESLint v9 and typescript-eslint v8 (#27404)
Closes #27451

---------

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2024-09-12 16:02:27 -04:00
Leosvel Pérez Espinosa
a2167648f7
fix(angular): respect skipPackageJson correctly across generators (#22777) 2024-04-11 16:15:30 +02:00
Leosvel Pérez Espinosa
ac949d64b6
fix(angular): install jsonc-eslint-parser only when @nx/dependency-checks is used (#22231) 2024-03-08 11:25:37 +01:00
Leosvel Pérez Espinosa
ca3965fcf3
fix(angular): do not force explicit targets for separate e2e projects (#21865) 2024-02-20 15:57:28 +01:00
Leosvel Pérez Espinosa
5b6d1b4017
feat(angular): force explicit targets when NX_ADD_PLUGINS is not explicitly true (#21852)
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2024-02-16 17:42:51 -05:00
Jason Jean
396ffc4636
feat(core): enable project crystal by default (#21403)
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
2024-02-02 03:40:59 -05:00
Miroslav Jonaš
fc176d3eec
fix(angular): fix standalone eslint config generation (#20885) 2023-12-21 14:28:10 +01:00
Miroslav Jonaš
ff5d1bef83
feat(linter): default lintFilePatterns to {projectRoot} (#20313) 2023-11-27 08:39:38 -05:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Miroslav Jonaš
bcb5965ec5
fix(angular): keep dependency-checks enabled for buildable libraries (#19047) 2023-09-07 15:14:45 +02:00
Colum Ferry
889f315f2c
fix(angular): buildable libs should lint correctly #18802 (#18837) 2023-08-25 15:46:14 +01:00
Miroslav Jonaš
e34219ab96
feat(linter): add flat config support to generators (#18534) 2023-08-23 01:36:58 +02:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Leosvel Pérez Espinosa
d20bf770ef
fix(angular): prevent nested calls to formatFiles in generators (#15946) 2023-03-29 09:46:51 +01:00
Colum Ferry
1db5fb82b9
cleanup(angular): remove duplicated code for add-linting (#15818) 2023-03-22 14:36:40 +00:00
Colum Ferry
8744698a01
feat(devkit): move runTasksInSerial to devkit (#15467) 2023-03-06 13:55:44 -05:00
Colum Ferry
b076f0380a
fix(angular): ngrx attaching to route and non-standalone apis for 14 (#14489)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-01-20 12:50:06 +00:00
Leosvel Pérez Espinosa
6579879218
feat(angular): add backwards compat support for package and ng-packagr-lite executors (#14264) 2023-01-11 11:39:27 +01:00
Colum Ferry
5970246b51
feat(angular): add backwards compat support for library (#14249) 2023-01-10 16:20:26 +00:00
Colum Ferry
43644acef2
feat(angular): add backwards compat support to add-linting (#13570) 2022-12-02 11:12:15 +00:00
Miroslav Jonaš
22e70d614e
fix(angular): fix root-project support for Angular (#13534) 2022-12-01 15:14:08 +01:00
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson (#8806) 2022-02-01 16:32:47 -05:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Leosvel Pérez Espinosa
0c454dd29f
cleanup(angular): migrate add-linting generator to nx devkit (#5795) 2021-05-26 11:09:42 +01:00