266 Commits

Author SHA1 Message Date
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
James Henry
699b1cbe1b feat(linter): noEslintrc option for eslint executor 2021-02-22 11:25:00 -05:00
Brandon
e4faaf1ef4
feat(angular): update Angular packages to 11.2.x release (#4788)
* feat(angular): update Angular packages to 11.2.x release

* chore(angular): fix storybook 5-6 default schematic unit test

* fix(angular): fix Angular Devkit discrepancies
2021-02-16 10:38:11 -05:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Lucas Vieira
4133c05bd3
fix(linter): do not print lint results to stdout when "outputPath" is set (#4755) 2021-02-12 13:16:55 +00: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
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00
Jason Jean
f25776d903
feat(linter): migrate eslint executor to devkit (#4607) 2021-01-25 15:00:53 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -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
Victor Savkin
599923bc68 fix(misc): remov peer deps to make npm 7 install work
Closes #4436
2021-01-07 20:27:11 -05:00
James Henry
42b61d0e90 feat(angular): update @angular-eslint to v1 2021-01-05 11:01:33 -05:00
arabull
755804fff6
fix(linter): Respect the "quiet" option (#4330) 2021-01-02 10:09:24 +00:00
Victor Savkin
e768ad4862 fix(misc): update the schema version for when creating executors 2020-12-22 11:32:22 -05:00
Isaac Mann
35015dd891 cleanup(docs): update terminology for docs related to nx/devkit 2020-12-06 13:52:08 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
Tasos Bekos
463d2cb9e0
fix(repo): add missing tslib dependency in generated applications (#3858) 2020-10-23 17:09:35 -04:00
James Henry
4f5fb0f8fc
feat(linter): use overrides in root eslint config (#3949)
* feat(linter): use overrides in root eslint config

* feat(linter): update-root-eslint-config-to-use-overrides migration
2020-10-23 16:14:09 -04:00
James Henry
588effd5c5
feat(linter): shareable eslint configs (#3882)
* feat(linter): shareable eslint configs

* chore(linter): migration towards shareable eslint configs
2020-10-16 15:31:26 -04:00
James Henry
b5de2f4e4e
fix(linter): migration should not include patterns from node_modules (#3880)
* fix(linter): migration should not include patterns from node_modules

* feat(linter): add additional migration to revert issue with previous one

* fix(linter): small tweaks based on call with Jason
2020-10-08 11:10:47 -04:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
Jason Jean
a8db1f787a
fix(linter): use the tsConfig option to find tsconfigs for eslint migration (#3853) 2020-10-02 10:42:34 -04:00
James Henry
da6f987631
fix(linter): add root .eslintrc.json to implicit deps (#3852)
* fix(linter): add root .eslintrc.json to implicit deps

* fix(linter): unit tests
2020-10-02 09:41:49 -04:00
Jason Jean
ad56f5785a
fix(linter): run migration for targets that are not lint (#3850) 2020-10-02 00:05:32 -04:00
James Henry
e339ece224
feat(linter): add explicit file extension to config files (#3847)
* feat(linter): add explicit file extension to config files

* feat(linter): update references to .eslintrc for new projects

* fix(linter): fix quotes in global eslint config
2020-10-01 18:59:45 -04:00
Jason Jean
f2585ae04e
fix(linter): remove duplicate migration of disabling explicit-module-boundary-types (#3837) 2020-09-30 12:11:57 -04:00
James Henry
e22f9370f5
feat(linter): new eslint builder (#3834)
* feat(linter): new eslint builder

* chore(linter): move migration to linter, add implementation

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-29 20:52:10 -04:00
Jason Jean
232fd9f30b
feat(core): update to typescript 4 (#3814) 2020-09-29 18:53:22 -04:00
Tasos Bekos
b11a50f9a0 cleanup(repo): add packages to dependency lists in package.json
This commit also adds a dependency check tool.
2020-09-14 13:07:45 -04:00
Wael Showair
cee55a8580
fix(linter): exit node process successfully when maxWarnings is set (#3646)
* fix(linter): exit node process succesfully when maxWarnings is set

ISSUES CLOSED: #3644

* fix(linter): exit node process successfully if reported warnings count <= maxWarnings option

ISSUES CLOSED: #3644
2020-09-03 16:56:35 +03:00
Martin Hochel
cbb342d597 fix(linter): include project's dts files when linting
ISSUES CLOSED: #3193
2020-09-01 11:41:26 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta (#3561) 2020-08-19 13:06:12 -04:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Benedikt D Valdez
4e6ce45517
fix(linter): eslint version should match >= 6.1.0 (#3002)
Closes #3001
2020-06-23 20:37:36 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Victor Savkin
bb7af3b95d fix(linter): fix broken unit test 2020-06-03 16:56:28 -04:00
Jack Hsu
43460cc7b7 feat(linter): add quiet option for eslint 2020-06-03 16:44:59 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Jack Hsu
c2b8c22555
fix(linter): remove config builder option for @nrwl/linter:lint when using eslint (#3093)
- eslint automatically detects .eslintrc files already
- removing the config option also enables nested configs
- provide a migration to remove config as long as users didn't customize it
2020-05-29 16:30:32 -04:00
Juri Strumpflohner
7f5f2277b0
feat(linter): adds maxWarnings to builder (#3071)
ISSUES CLOSED: #2762
2020-05-25 11:17:31 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04:00
Rares Matei
ddde8af6db
fix(linter): outputFile at non-existing directory path throws
ISSUES CLOSED: 2567
2020-02-28 09:42:52 +00:00
Victor Savkin
55bde7b9b0 fix(react): remove unused dependency 2020-02-25 16:49:03 -05:00
Rares Matei
9d163551a2
feat(linter): add standalone nx linter (#2462) 2020-02-25 15:24:33 -05:00
Jason Jean
e5db43f92b fix(misc): loosen dependencies for angular dependencies 2020-02-16 09:59:11 -05:00