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

Change to use stylelint for CSS/SCSS linting #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fdanielsen
Copy link
Member

The sass-lint package is not maintained anymore and hasn't been
updated in a long time. Current de facto CSS/SCSS linter is now
stylelint. The output is very similar to the sass-lint tool, so this
simply updates the ArcanistSassLintLinter to rather work with the
stylelint tool instead. The old ArcanistScssLintLinter has been
removed.

The `sass-lint` package is not maintained anymore and hasn't been
updated in a long time. Current de facto CSS/SCSS linter is now
`stylelint`. The output is very similar to the `sass-lint` tool, so this
simply updates the `ArcanistSassLintLinter` to rather work with the
`stylelint` tool instead. The old `ArcanistScssLintLinter` has been
removed.
($parts[1] === 'error' || $parts[1] === 'warning')) {
$severity = $parts[1] === 'error' ?
($parts[1] === '' || $parts[1] === '')) {
$severity = $parts[1] === '' ?
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: Indent issue.

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