Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

adding 'to-string' function #84

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4329c3e
adding 'to-string' function
esr360 Sep 4, 2015
d5ef5b5
making comment consistent
esr360 Sep 4, 2015
dd8c241
correcting formatting and best practices
Sep 10, 2015
14562d0
changing null to '', concatenating instead of interpolating
esr360 Sep 11, 2015
d420558
removing unnecessary interpolation & passing variable names to function
esr360 Sep 11, 2015
dfcf250
removing "to-string()" function call
esr360 Sep 14, 2015
0116f6d
synchronising with customizations
esr360 Oct 16, 2015
d6f6aef
adding a suitable readme
esr360 Oct 16, 2015
e26165c
adding bower.json
esr360 Oct 21, 2015
14379ba
removing stuff we don't need
esr360 Feb 11, 2016
5adf9a3
renaming stylesConfigJSON to modulesConfigJSON
esr360 Feb 13, 2016
466e255
removing old files
esr360 Jun 6, 2016
7a69544
adding group attribute to sassyjson files
esr360 Aug 4, 2016
120ce69
updating structure
esr360 Oct 16, 2016
2bc8959
adding bower file
esr360 Oct 16, 2016
03a85bd
adding build process stuff
esr360 Oct 16, 2016
eb851f8
updating docs
esr360 Oct 16, 2016
ff12bb6
updating readme
esr360 Oct 16, 2016
ee2c0c5
updating readme
esr360 Oct 16, 2016
5c23b87
scss linting
esr360 Oct 17, 2016
fa42555
updating readme
esr360 Oct 17, 2016
16642dd
updating readme
esr360 Oct 17, 2016
b32b51b
updating readme
esr360 Oct 17, 2016
8bff9ea
updating readme
esr360 Oct 17, 2016
d10c03b
formatting
esr360 Oct 18, 2016
f05f125
updating readme example
esr360 Oct 18, 2016
12484c3
adding unit tests
esr360 Oct 18, 2016
ca95884
updating scsslint config
esr360 Oct 20, 2016
f7217de
adding dist file
esr360 Oct 22, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
node_modules
tmp
.sass-cache
*.gem
npm-debug.log
.sassdoc
sassdocify
node_modules
6 changes: 0 additions & 6 deletions .npmignore

This file was deleted.

10 changes: 0 additions & 10 deletions .sassdocrc

This file was deleted.

233 changes: 233 additions & 0 deletions .scss-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false

BemDepth:
enabled: false
max_elements: 1

BorderZero:
enabled: true
convention: zero # or `none`

ChainedClasses:
enabled: false

ColorKeyword:
enabled: false

ColorVariable:
enabled: false

Comment:
enabled: true
style: silent

DebugStatement:
enabled: true

DeclarationOrder:
enabled: true

DisableLinterReason:
enabled: false

DuplicateProperty:
enabled: true

ElsePlacement:
enabled: true
style: same_line # or 'new_line'

EmptyLineBetweenBlocks:
enabled: true
ignore_single_line_blocks: true

EmptyRule:
enabled: true

ExtendDirective:
enabled: false

FinalNewline:
enabled: true
present: false

HexLength:
enabled: false
style: long # or 'long'

HexNotation:
enabled: true
style: lowercase # or 'uppercase'

HexValidation:
enabled: true

IdSelector:
enabled: true

ImportantRule:
enabled: true

ImportPath:
enabled: true
leading_underscore: false
filename_extension: false

Indentation:
enabled: true
allow_non_nested_indentation: false
character: space # or 'tab'
width: 4

LeadingZero:
enabled: true
style: include_zero # or 'include_zero'

MergeableSelector:
enabled: true
force_nesting: true

NameFormat:
enabled: true
allow_leading_underscore: true
convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern

NestingDepth:
enabled: true
max_depth: 3
ignore_parent_selectors: false

PlaceholderInExtend:
enabled: false

PropertyCount:
enabled: false
include_nested: false
max_properties: 10

PropertySortOrder:
enabled: true
ignore_unspecified: false
min_properties: 2
separate_groups: false

PropertySpelling:
enabled: true
extra_properties: []
disabled_properties: []

PropertyUnits:
enabled: true
global: [
'ch', 'em', 'ex', 'rem', # Font-relative lengths
'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths
'deg', 'grad', 'rad', 'turn', # Angle
'ms', 's', # Duration
'Hz', 'kHz', # Frequency
'dpi', 'dpcm', 'dppx', # Resolution
'%'] # Other
properties: {}

PseudoElement:
enabled: true

QualifyingElement:
enabled: true
allow_element_with_attribute: false
allow_element_with_class: false
allow_element_with_id: false

SelectorDepth:
enabled: true
max_depth: 3

SelectorFormat:
enabled: true
convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern

Shorthand:
enabled: true
allowed_shorthands: [1, 2, 3]

SingleLinePerProperty:
enabled: true
allow_single_line_rule_sets: true

SingleLinePerSelector:
enabled: true

SpaceAfterComma:
enabled: true
style: one_space # or 'no_space', or 'at_least_one_space'

SpaceAfterPropertyColon:
enabled: true
style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'

SpaceAfterPropertyName:
enabled: true

SpaceAfterVariableName:
enabled: false

SpaceAroundOperator:
enabled: true
style: one_space # or 'at_least_one_space', or 'no_space'

SpaceBeforeBrace:
enabled: true
style: space # or 'new_line'
allow_single_line_padding: false

SpaceBetweenParens:
enabled: false
spaces: 0

StringQuotes:
enabled: true
style: single_quotes # or double_quotes

TrailingSemicolon:
enabled: true

TrailingWhitespace:
enabled: true

TrailingZero:
enabled: false

TransitionAll:
enabled: false

UnnecessaryMantissa:
enabled: true

UnnecessaryParentReference:
enabled: true

UrlFormat:
enabled: true

UrlQuotes:
enabled: true

VariableForProperty:
enabled: false
properties: []

VendorPrefix:
enabled: true
identifier_list: base
additional_identifiers: []
excluded_identifiers: []

ZeroUnit:
enabled: true

Compass::*:
enabled: false
22 changes: 9 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
language: node_js
branches:
only:
- master
git:
depth: 1
node_js:
- '0.10'
env:
- SASS_VERSION=3.3.4
before_script:
- gem update --system
- gem install sass -v $SASS_VERSION
- gem install scss-lint
- npm install -g grunt-cli
- "4.4"
before_install:
- rvm install 2.2.2
- gem install sass
- gem install scss-lint
- npm install -g grunt-cli
install: npm install
before_script:
- grunt compile
24 changes: 0 additions & 24 deletions CHANGELOG.md

This file was deleted.

Loading