Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bigcommerce Sass style guide - Initial Commit
- Loading branch information
Miko Ademagic
committed
Nov 6, 2015
0 parents
commit defbc2a
Showing
4 changed files
with
1,154 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# BC configuration | ||
linters: | ||
|
||
#Cos we use maps with keywords, this produces noise | ||
ColorKeyword: | ||
enabled: false | ||
|
||
ElsePlacement: | ||
enabled: true | ||
style: new_line # or 'same_line' | ||
|
||
EmptyLineBetweenBlocks: | ||
enabled: true | ||
ignore_single_line_blocks: false | ||
|
||
Indentation: | ||
enabled: true | ||
character: space # or 'tab' | ||
width: 4 | ||
|
||
LeadingZero: | ||
enabled: true | ||
style: include_zero # or 'exclude_zero' | ||
|
||
NameFormat: | ||
enabled: false | ||
convention: hyphenated_lowercase # or 'BEM', or a regex pattern | ||
|
||
SelectorDepth: | ||
enabled: true | ||
max_depth: 2 | ||
|
||
NestingDepth: | ||
enabled: true | ||
max_depth: 2 | ||
|
||
# For example | ||
# http://www.regexr.com/39qql | ||
SelectorFormat: | ||
enabled: true | ||
# convention: camel_case # or 'snake_case', or 'hyphenated_lowercase', or a regex pattern | ||
convention: ^[a-z][a-z0-9]*([A-Z0-9][a-z0-9]*)*((\.is-|-+)[a-z0-9][a-z0-9]*([A-Z0-9][a-z0-9]*)*)*$ | ||
|
||
StringQuotes: | ||
enabled: true | ||
style: double_quotes # or single_quotes | ||
|
||
TrailingZero: | ||
enabled: true | ||
|
||
# This is a new linting rule as of 0.30 and the per-file disablement syntax seems to failing, so turn it off | ||
QualifyingElement: | ||
enabled: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sass', '3.4.7' | ||
gem 'scss-lint', '~> 0.31.0' |
Oops, something went wrong.