Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

fix(@schematics/angular): update lint tools and rules for Angular 5 #253

Closed
wants to merge 5 commits into from
Closed

Conversation

cyrilletuzi
Copy link
Contributor

@cyrilletuzi cyrilletuzi commented Nov 2, 2017

Codelyzer 4 is required for Angular 5 and some rules have been removed or deprecated in last versions of codelyzer and tslint.

Fixes angular/angular-cli#8324

@hansl @filipesilva

@akkumar
Copy link
Contributor

akkumar commented Nov 14, 2017

Commit log mentions the following:

    The following commit has a scope that does not exist:
      3817aa2 fix(lint): update lint rules for codelyzer 4.0 and tslint 5.8
    The following commit has a scope that does not exist:
      9a0ec81 fix(lint): update lint tools for Angular 5
  2 commits were found invalid...

May be - would it be ok to have scope with 'build(aio)' (or something similar , based on git logs) ?

Either way - would be nice to have this commit 'amend'ed and checked in.

cc @cyrilletuzi

@cyrilletuzi cyrilletuzi changed the title fix(lint): update lint tools and rules for Angular 5 fix(@schematics/angular): update lint tools and rules for Angular 5 Nov 14, 2017
codelyzer 4 is required for Angular 5.
Some rules are removed as they are deprecated.

tslint is also updated to 5.8.
@cyrilletuzi
Copy link
Contributor Author

Commit fd9ff3c is ok, I don't know why the last one popped up. And I think I messed up all my git history while trying to fix this. So I hope you guys can just pick up the good one.

@akkumar
Copy link
Contributor

akkumar commented Nov 15, 2017

Seems like the build has failed again !

    The following commit has an unknown type:
      2a4783b Merge branch 'patch-4' of https://github.com/cyrilletuzi/devkit into patch-4
    The following commit has a scope that does not exist:
      3817aa2 fix(lint): update lint rules for codelyzer 4.0 and tslint 5.8
    The following commit has a scope that does not exist:
      9a0ec81 fix(lint): update lint tools for Angular 5
  3 commits were found invalid...

Looking at the git history - we can try something like -

"feat(@schematics/angular)" or "fix(@schematics/angular)"

Eg:

2017-10-25 11:41 Alex Rickabaugh           o feat(@schematics/angular): update Angular version to 5.0.0

cc @cyrilletuzi

@akkumar
Copy link
Contributor

akkumar commented Nov 15, 2017

Guess - the HEAD of branch needs to be reset , and push -f again to remove this error in the log . Anyway would be good to have this.

@cyrilletuzi
Copy link
Contributor Author

Closing, as duplicate #257 has been merged.

@cyrilletuzi cyrilletuzi deleted the patch-4 branch November 23, 2017 08:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants