17 Commits

Author SHA1 Message Date
Hans
c45e778687 feat(@angular/cli): allow overrides on multi-target if builder is same
It makes sense and is the only way to allow "ng lint --fix". If the builder is the
same for all targets, overrides are allowed.
2018-07-25 21:27:47 -07:00
Hans
14357e30c0 refactor(@angular/cli): remove a tslint:disable:no-global-tslint-disable no-any
Not entirely removed the usage of any but its a step in the right direction.
2018-07-25 21:27:47 -07:00
Charles Lyding
62640bf1ef fix(@angular/cli): update typescript version checks for Angular 6.1 2018-07-25 17:08:28 -07:00
Hans
a0978b1db3 refactor: fix types to remove any
require() returns any so we were missing some typing errors.
2018-07-11 13:35:35 -07:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Hans Larsen
c1702d3579 refactor: add no-floating-promises lint rule to project
With fixes; new now handles the parent initialize, visitor_spec now errors on
rejection, and nothing in the writeI18nOutFile() function was async so removed
the promise there entirely.
2018-07-10 15:07:36 -07:00
Alan Agius
43e21ab606 refactor: fix path for workspace-loader 2018-07-09 09:38:58 -04:00
Charles Lyding
a067530de2 fix(@angular/cli): add all current TSLint default formatters to schema 2018-07-02 09:48:05 -04:00
Alan Agius
f46a883330 refactor(@angular/cli): remove extra await
An async function always wraps the return value in a Promise. Using return await just adds extra time before the overreaching promise is resolved without changing the semantics.
2018-07-02 08:21:57 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Charles Lyding
6449a75364 fix(@angular/cli): use default project when project path is ambiguous 2018-06-21 09:23:41 -04:00
Christian Hagendorn
dd39597b6a fix: typo fix for error logging 2018-06-13 14:14:26 +01:00
Alex Eagle
938a236f40 build: fixes for google3 build 2018-06-08 14:33:31 -07:00
Mike Brocchi
04893ca343 fix(@angular/cli): Fix double setting of the path options for new
fixes #11025
2018-06-08 18:07:28 +01:00
Alex Eagle
d1e392fa78 refactor: add missing license headers under packages/angular/cli 2018-06-06 15:11:31 -07:00
Hans
3d92f5107e release: rewrite the README slightly and reorder packages 2018-06-06 14:23:26 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00