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

Split linting and loading #31

Merged
merged 5 commits into from
Mar 22, 2018
Merged

Split linting and loading #31

merged 5 commits into from
Mar 22, 2018

Conversation

philsturgeon
Copy link
Contributor

@philsturgeon philsturgeon commented Mar 21, 2018

Closes #10

This lets us write tests directly against the linter instead of having to go via rule files. We can invent theoretical rules to ensure the mechanics are happy, aaand it's helped improve coverage.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.3%) to 59.253% when pulling 6d89cca on seperate-loader-lint into 44dfddb on master.

@coveralls
Copy link

coveralls commented Mar 21, 2018

Coverage Status

Coverage increased (+2.9%) to 63.748% when pulling f15dd02 on seperate-loader-lint into f7c6ccb on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.3%) to 59.253% when pulling 6d89cca on seperate-loader-lint into 44dfddb on master.


context('when `' + profileName + '` profile is loaded', () => {
testProfile(profile);
context('when `' + profileName + '` profile is loaded', () => {

Choose a reason for hiding this comment

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

String interpolation makes this easier

`when \`${profileName}\` profile is loaded`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@philsturgeon philsturgeon force-pushed the seperate-loader-lint branch 3 times, most recently from 1eca6bf to 409ed02 Compare March 22, 2018 14:03
Copy link
Contributor

@MikeRalphson MikeRalphson left a comment

Choose a reason for hiding this comment

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

As discussed.

@philsturgeon philsturgeon merged commit 0523b60 into master Mar 22, 2018
@philsturgeon philsturgeon deleted the seperate-loader-lint branch March 22, 2018 16:42
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.

None yet

4 participants