This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Travis builds should fail when scss-lint errors #374
Labels
Comments
the pure node linter addon, that i linked previously generates a test suite for the Linting that should fail on travis https://github.com/sir-dunxalot/broccoli-sass-lint/blob/master/index.js#L234 |
If we are going to move to stylelint via #443, we should address this issue there. |
@billybonks yeah, we're planning to move to Stylelint asap to 🔥 Ruby as a dependency, and because it turns out Stylelint is even better (and faster) than scss-lint. |
https://www.npmjs.com/package/ember-cli-style-lint this solves this issue |
Closed in #488. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behavior: When your styles fail the scss-linter, the build should fail in Travis.
Actual behavior: When your styles fail the scss-linter, the Travis build still passes.
Steps to reproduce: Branch, add some styles that don't pass the scss-linter, push your branch, and open a pull request to view the Travis build info.
You can paste the following style declaration into any stylesheet to produce scss-lint errors:
I think if we can get the scss-lint to fail the ember build, that should produce the expected behavior in Travis, too. The whole point is to help enforce use of the linter and scaling our SCSS well.
cc @jkleinsc
The text was updated successfully, but these errors were encountered: