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

Run linting only #559

Closed
adrianblynch opened this issue Apr 6, 2016 · 2 comments
Assignees
Milestone

Comments

@adrianblynch
Copy link

@adrianblynch adrianblynch commented Apr 6, 2016

Is there a way to run linting only?

So far I have an npm script:

"lint": "node node_modules/lab/node_modules/eslint/bin/eslint.js ./",

Which I don't like the look of!

@cjihrig

This comment has been minimized.

Copy link
Contributor

@cjihrig cjihrig commented Apr 6, 2016

I'm not sure if this is the "official" way, but you can do lab -d -L. The -d does a dry run, and doesn't actually execute the tests.

@geek

This comment has been minimized.

Copy link
Member

@geek geek commented Apr 6, 2016

We can document the -dL pattern, its what I prefer to use to only run linting

@geek geek self-assigned this May 18, 2016
@geek geek added this to the 10.6.0 milestone May 18, 2016
@geek geek closed this in #585 May 18, 2016
@Marsup Marsup added support and removed question labels Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.