16 Commits

Author SHA1 Message Date
Miroslav Jonaš
9b51f6b0aa
fix(linter): add node_modules to linter ignore patterns (#14980) 2023-02-15 17:06:18 -05:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Miroslav Jonaš
110b5f2867
feat(core): enable linter on root projects (#13347) 2022-11-24 22:51:24 +01:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04: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
Alois
e5bde2fe46
fix(linter): Generator creating .eslintrc.json at the root path even when .eslintrc.js already exist (#10080)
* feat(devkit): feat(devkit): don't replace begining undescore when creating file

Underscore is a character usually used for sorting purposes and is absolutely legit. There is no
reason to replace it.

ISSUES CLOSED: #8875

* fix(linter): generator creating .eslintrc.json at the root path even when .eslintrc.js
2022-05-11 11:07:10 -04:00
Giora Guttsait
75b0744955
fix(core): init generators should not crash when trying to remove dependencies when package.json does not have dependencies (#9765)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-04-12 09:10:13 -04: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
Phillip Barta
84f873dcdb
cleanup(misc): cleanup typescript imports 2021-06-16 14:07:01 -04:00
Ravi Rajpurohit
bc9eaedb41
feat(repo): replace tslint with eslint in recommended extensions (#5280)
* feat(repo): feat(repo): replace tslint with eslint in recommended extensions

* feat(linter): recommand eslint extension when creating a project with eslint
2021-04-22 10:34:39 -04:00
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Jason Jean
ec758b4276
feat(linter): remove tslint from empty workspace and fix tslint support (#4622) 2021-01-27 18:38:07 -05:00
Jason Jean
716bb44254
feat(core): migrate library to devkit (#4512)
* migrate lint

* feat(core): migrate library to devkit
2021-01-13 16:57:19 -05:00