Projet

Général

Profil

0001-adapt-sass-lint-rules-to-real-usage.patch

Anonyme, 23 mai 2018 15:19

Télécharger (1,36 ko)

Voir les différences:

Subject: [PATCH] adapt sass-lint rules to real usage

 .sass-lint.yml | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
.sass-lint.yml
10 10
  # Output file instead of logging results
11 11
  output-file: 'linters/sass-lint.html'
12 12
  # Raise an error if more than 50 warnings are generated
13
  max-warnings: 50
13
  max-warnings: 200
14 14
# File Options
15 15
files:
16 16
  include: 'static/**/*.s+(a|c)ss'
......
21 21
  extends-before-mixins: 2
22 22
  extends-before-declarations: 2
23 23
  placeholder-in-extend: 2
24
  no-debug: 2
25
  no-important: 2
26
  max-line-length:
27
    - 1
28
    -
29
      length: 100
30
  no-duplicate-properties: 1
31
  no-css-comments: 1
24 32
  mixins-before-declarations:
25
    - 2
33
    - 1
26 34
    -
27 35
      exclude:
28 36
        - breakpoint
29 37
        - mq
30 38

  
31 39
  no-warn: 1
32
  no-debug: 1
33
  no-ids: 1
34
  no-important: 2
40
  no-ids: 0
35 41
  hex-notation:
36
    - 2
42
    - 1
37 43
    -
38 44
      style: uppercase
39 45
  indentation:
......
48 54
        - margin
49 55
      ignore-custom-properties: true
50 56
  variable-for-property:
51
    - 2
57
    - 1
52 58
    -
53 59
      properties:
54 60
        - margin
55
-