Permalink
Browse files

Configure SCSS-Lint and Hound

- Having both config files allows you to run SCSS-Lint locally via the command line, as well as tweak Hound’s default config to align with the purpose of Bitters
  • Loading branch information...
1 parent 2ad54f5 commit 39dafbeb5a855d67a8c19149cc2f69796d5cc41e @tysongach tysongach committed Apr 1, 2015
Showing with 24 additions and 3 deletions.
  1. +5 −0 .hound.yml
  2. +16 −0 .scss-lint.yml
  3. +2 −2 app/assets/stylesheets/_buttons.scss
  4. +1 −1 app/assets/stylesheets/_typography.scss
View
@@ -0,0 +1,5 @@
+ruby:
+ enabled: true
+scss:
+ config_file: .scss-lint.yml
+ enabled: true
View
@@ -0,0 +1,16 @@
+scss_files: "app/assets/stylesheets/**/*.scss"
+linters:
+ BorderZero:
+ enabled: false
+ ColorVariable:
+ enabled: false
+ LeadingZero:
+ enabled: true
+ style: include_zero
+ PropertyCount:
+ enabled: false
+ QualifyingElement:
+ enabled: false
+ StringQuotes:
+ enabled: true
+ style: double_quotes
@@ -1,15 +1,15 @@
#{$all-button-inputs},
button {
@include appearance(none);
- -webkit-font-smoothing: antialiased;
background-color: $action-color;
- border-radius: $base-border-radius;
border: none;
+ border-radius: $base-border-radius;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: $base-font-family;
font-size: $base-font-size;
+ -webkit-font-smoothing: antialiased;
font-weight: 600;
line-height: 1;
padding: 0.75em 1em;
@@ -1,9 +1,9 @@
body {
@include font-feature-settings("kern", "liga", "pnum");
- -webkit-font-smoothing: antialiased;
color: $base-font-color;
font-family: $base-font-family;
font-size: $base-font-size;
+ -webkit-font-smoothing: antialiased;
line-height: $base-line-height;
}

0 comments on commit 39dafbe

Please sign in to comment.