Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

chore(tslint): add tslint to gulpfile #3833

Merged
merged 1 commit into from
Dec 20, 2016
Merged

Conversation

cnishina
Copy link
Contributor

@cnishina cnishina commented Dec 15, 2016

  • add gulp task tslint and lint
  • update **/*.ts with tslint fixes
  • update circle.yml to run gulp lint
  • update gulp pretest to run both jshint and tslint

@cnishina cnishina force-pushed the tslint branch 2 times, most recently from 77a4df0 to baf4d66 Compare December 15, 2016 23:39
@heathkit
Copy link
Contributor

As part of this, could you put the tslint check on Circle? And please move the format check along with tslint down to the test phase, so they won't block testing if they fail. Thanks!

@cnishina cnishina force-pushed the tslint branch 5 times, most recently from 9e9af43 to 39705bd Compare December 20, 2016 19:51
- add gulp task tslint and lint
- update `**/*.ts` with tslint fixes
- update circle.yml to run `gulp lint`
- update `gulp pretest` to run both jshint and tslint
@@ -12,7 +12,7 @@ dependencies:
cache_directories:
- testapp/node_modules
post:
- ./node_modules/.bin/gulp format:enforce
- ./node_modules/.bin/gulp lint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need the format check too, right? Also, let's move this down to before npm test so lint failures don't block test runs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the format enforce into the lint similar to blocking-proxy. I also would rather have the test fail immediately if lint / format has errors.

@cnishina cnishina merged commit 989759a into angular:master Dec 20, 2016
@cnishina cnishina deleted the tslint branch January 6, 2017 20:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants