Skip to content

Instantly share code, notes, and snippets.

@ZachWatkins
Created May 19, 2017 19:20
Show Gist options
  • Save ZachWatkins/81ba7d243b440de018c2835d6658f35e to your computer and use it in GitHub Desktop.
Save ZachWatkins/81ba7d243b440de018c2835d6658f35e to your computer and use it in GitHub Desktop.
Sass style guide for AgriLife Communications
# Linter Options
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
options:
# Don't merge default rules
merge-default-rules: false
# File Options
files:
include: 'css/src/**/*.s+(a|c)ss'
ignore:
- 'sass/vendor/**/*.*'
- 'css/src/partials/_simpletabs.scss'
- 'css/src/lib/_grid.scss'
# Rule Configuration
rules:
brace-style:
- 2
- style: '1tbs'
- allow-single-line: false
no-color-keywords: 2
no-duplicate-properties:
- 2
-
exclude:
- background
- background-color
- border
- white-space
no-mergeable-selectors: 2
no-misspelled-properties:
- 2
-
'extra-properties':
- 'ms-filter'
- '*text-indent'
- '*zoom'
space-after-colon: true
space-after-comma: true
trailing-semicolon: true
extends-before-mixins: 2
no-warn: 1
no-debug: 1
no-important: 1
hex-notation:
- 2
-
style: uppercase
indentation:
- 1
-
size: tab
quotes:
- 1
-
style: double
border-zero: 0
empty-args: 0
empty-line-between-blocks: 0
final-newline: 1
force-element-nesting: 0
force-pseudo-nesting: 0
hex-length: 1
mixins-before-declarations: 0
nesting-depth: 0
no-color-literals: 0
no-css-comments: 0
no-empty-rulesets: 0
no-ids: 0
no-qualifying-elements: 0
no-trailing-whitespace: 1
no-vendor-prefixes: 0
property-sort-order: 0
single-line-per-selector: 0
space-before-brace: 1
zero-unit: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment