Skip to content

Instantly share code, notes, and snippets.

@rerodrigues
Last active December 21, 2018 17:39
Show Gist options
  • Select an option

  • Save rerodrigues/1a3b46c7e5e07bee3d1529eb18e96570 to your computer and use it in GitHub Desktop.

Select an option

Save rerodrigues/1a3b46c7e5e07bee3d1529eb18e96570 to your computer and use it in GitHub Desktop.

Revisions

  1. rerodrigues revised this gist Dec 21, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .sass-lint.yml
    Original file line number Diff line number Diff line change
    @@ -9,10 +9,10 @@ options:
    rules:
    class-name-format:
    - 1
    - convention: strictbem
    - convention: hyphenatedbem
    id-name-format:
    - 1
    - convention: strictbem
    - convention: hyphenatedbem

    # Rule overrides
    no-css-comments: 0
  2. rerodrigues created this gist Dec 21, 2018.
    24 changes: 24 additions & 0 deletions .sass-lint.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    files:
    include: '**/*.s+(a|c)ss'

    options:
    formatter: stylish
    merge-default-rules: true

    # Ruleset
    rules:
    class-name-format:
    - 1
    - convention: strictbem
    id-name-format:
    - 1
    - convention: strictbem

    # Rule overrides
    no-css-comments: 0
    property-sort-order: 0
    force-pseudo-nesting: 0
    no-color-literals: 0
    nesting-depth:
    - 1
    - max-depth: 3