Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use TSLint for JS files too #334

Merged
merged 4 commits into from
Dec 8, 2016
Merged

use TSLint for JS files too #334

merged 4 commits into from
Dec 8, 2016

Conversation

giladgray
Copy link
Contributor

@giladgray giladgray commented Dec 8, 2016

Changes proposed in this pull request:

  • use TSLint 4.x to lint JS files too! (mostly object alph)
  • remove eslint

Gilad Gray added 2 commits December 7, 2016 16:30
@blueprint-bot
Copy link

fix `check` task alias

Preview: docs | landing
Coverage: core | datetime

// synchronously read and return string content of file.
fromFile: (filepath) => fs.readFileSync(filepath, "utf8"),

highlight: highlight,
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be flagged as a failure by object-literal-shorthand... what's going on?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

huh that rule had to be explicitly enabled here

Copy link
Contributor

Choose a reason for hiding this comment

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

@@ -91,16 +91,16 @@ module.exports = (gulp, plugins, blueprint) => {

gulp.task(`karma-unit-${project.id}`, (done) => {
const config = Object.assign(createConfig(project), {
reporters: [ "mocha" ],
singleRun: false,
browsers: ["Chrome"],
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: inconsistent spacing inside [ ]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@blueprint-bot
Copy link

spacing, object shorthand

Preview: docs | landing
Coverage: core | datetime

@giladgray giladgray merged commit 11864f8 into master Dec 8, 2016
@giladgray giladgray deleted the gg/tslint branch December 8, 2016 19:22
@giladgray giladgray mentioned this pull request Dec 9, 2016
greglo pushed a commit to greglo/blueprint that referenced this pull request Dec 12, 2016
* use TSLint 4.x to lint JS files too!

mostly alphabetizing objects.

* remove eslint

* fix `check` task alias

* spacing, object shorthand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants