Skip to content
Permalink
Browse files

Replace scss-lint with stylelint

Based on a successful Research experiment:
https://trello.com/c/n17oCxXV/712-replace-scss-lint-with-stylelint

This configures stylelint to extend thoughtbot's shared configuration,
which enforces our Sass guides:
https://github.com/thoughtbot/stylelint-config

Hound enables scss-lint by default, so we have to explicitly disable it
in `.hound.yml`.
  • Loading branch information...
tysongach committed Mar 23, 2019
1 parent ba828aa commit 4452bdd4551842272062e5b1042947d54550420a
Showing with 2,271 additions and 351 deletions.
  1. +3 −1 .hound.yml
  2. +0 −249 .scss-lint.yml
  3. +3 −0 .stylelintrc.json
  4. +0 −1 bitters.gemspec
  5. +2,259 −99 package-lock.json
  6. +6 −1 package.json
@@ -1,5 +1,7 @@
ruby:
enabled: true
scss:
config_file: .scss-lint.yml
enabled: false
stylelint:
enabled: true
config_file: .stylelintrc.json

This file was deleted.

@@ -0,0 +1,3 @@
{
"extends": "@thoughtbot/stylelint-config"
}
@@ -6,7 +6,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "bundler", "~> 1.3"
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "scss_lint", "~> 0.47"
s.add_runtime_dependency "bourbon", "~> 5.0"
s.add_runtime_dependency "sass", "~> 3.4"
s.add_runtime_dependency "thor", "~> 0.19"

0 comments on commit 4452bdd

Please sign in to comment.
You can’t perform that action at this time.