Skip to content

build: add working lint-ci make target (v0.12) - #9151

Closed
rvagg wants to merge 2 commits into
nodejs:v0.12-stagingfrom
rvagg:lint-ci-v0.12
Closed

build: add working lint-ci make target (v0.12)#9151
rvagg wants to merge 2 commits into
nodejs:v0.12-stagingfrom
rvagg:lint-ci-v0.12

Conversation

@rvagg

Copy link
Copy Markdown
Member

Make linting work again on v0.12! We've been missing this since we switched to lint-ci on Jenkins but nobody noticed (cause I'm pretty much the only one who runs it and I'd forgotten that it was only v0.10 that should fail linting).

/cc @nodejs/build

PR-URL: nodejs#9107
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@nodejs-github-botnodejs-github-bot added build Issues and PRs related to build files or the CI. v0.12 labels Oct 18, 2016
@rvagg

Copy link
Copy Markdown
MemberAuthor

CI @ https://ci.nodejs.org/job/node-test-pull-request/4553/ with a happy linter!

fwiw I also cherry-picked over #9107 to v0.12-staging to fix a linting problem that's common with v0.10.

@jasnell

Copy link
Copy Markdown
Member

LGTM

@jbergstroemjbergstroem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment threadMakefile

CONFLICT_RE=^>>>>>>> [0-9A-Fa-f]+|^<<<<<<< [A-Za-z]+
lint-ci: jslint cpplint
@if ! ( grep -IEqrs "$(CONFLICT_RE)" benchmark deps doc lib src test tools ) \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The SmartOS man-page didn't show all flags passed to grep being available, but it seems to work fine anyway.

jasnell pushed a commit that referenced this pull request Oct 28, 2016
PR-URL: #9151
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell

Copy link
Copy Markdown
Member

Landed in a47fd45

@jasnelljasnell closed this Oct 28, 2016
@rvaggrvagg mentioned this pull request Dec 20, 2016
jBarz pushed a commit to ibmruntimes/node that referenced this pull request Dec 22, 2016
PR-URL: nodejs/node#9151
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@rvagg@jasnell@jbergstroem@bnoordhuis@JungMinu@nodejs-github-bot