-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add JS and SCSS lint #758
Merged
Merged
Add JS and SCSS lint #758
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NickColley
reviewed
Feb 19, 2019
app/assets/javascripts/govuk_publishing_components/components/checkboxes.js
Outdated
Show resolved
Hide resolved
Any chance you can provide some details of how to set this up locally? My editor currently has different linting rules, obviously would be good to align. |
@andysellick: Sass-lint: there are a couple of extensions, I'll list a few below: |
This is awesome. I've raised alphagov/govuk-rfcs#100 to talk about the entire linting system. |
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
from
February 20, 2019 11:05
33a7474
to
6cf5a24
Compare
benthorner
had a problem deploying
to
govuk-publishing-compon-pr-758
February 20, 2019 11:05
Failure
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
from
February 20, 2019 11:13
6cf5a24
to
67e060a
Compare
benthorner
had a problem deploying
to
govuk-publishing-compon-pr-758
February 20, 2019 11:13
Failure
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
from
February 20, 2019 11:16
67e060a
to
ca8c0f0
Compare
kevindew
reviewed
Feb 21, 2019
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
2 times, most recently
from
March 6, 2019 17:13
0fad4b1
to
a0f522c
Compare
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
from
March 20, 2019 17:53
a0f522c
to
b48193b
Compare
andysellick
approved these changes
May 7, 2019
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
3 times, most recently
from
May 14, 2019 09:01
a47913f
to
83e270c
Compare
Setup sass-lint and standardjs to align with govuk-frontend linting rules
alex-ju
force-pushed
the
add-js-and-scss-lint
branch
from
May 14, 2019 10:29
83e270c
to
5624055
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
sass-lint
linting rulesThis will align linting tools with the govuk-frontend repo.
Note
scss-
rules are still preserved untilgovuk-lint
is retired otherwise CI will failIDE Integration
For
standardjs
there is a list on the project's website: https://standardjs.com/#are-there-text-editor-pluginsFor
sass-lint
there are a couple of extensions, I'll list a couple below:Related
#124