Skip to content

Add skip option for linter#9

Merged
philsturgeon merged 2 commits intowework:masterfrom
jblazek:feat/5-skip-rule
Feb 24, 2018
Merged

Add skip option for linter#9
philsturgeon merged 2 commits intowework:masterfrom
jblazek:feat/5-skip-rule

Conversation

@jblazek
Copy link
Copy Markdown
Contributor

@jblazek jblazek commented Feb 24, 2018

Added --skip option for linter to skip one or more rules by name from
linting.

Fixes #5

Added `--skip` option for linter to skip one or more rules by name from
linting.

Fixes #5
@jblazek
Copy link
Copy Markdown
Contributor Author

jblazek commented Feb 24, 2018

I took a shot at this, it would be useful for me as well. Let me know if you had something else in mind.

I looked at adding tests, but would either need to make a new profile or change up what's in a fixture to add a skip array there.

@philsturgeon
Copy link
Copy Markdown
Contributor

This is awesome! Thank you so much.

Could you have a think about tests, and see what you come up with after another try? Changing how things work is quite alright.

@jblazek
Copy link
Copy Markdown
Contributor Author

jblazek commented Feb 24, 2018

Sure I can see about changing it up.

Added tests to cover skipping specific lint rules. Updated test fixture
to allow skipping different rules at the test level.
@philsturgeon philsturgeon merged commit e81351f into wework:master Feb 24, 2018
@philsturgeon philsturgeon mentioned this pull request Feb 26, 2018
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.

2 participants