Projet

Général

Profil

0001-change-sass-lint-rules-24028.patch

Anonyme, 04 juin 2018 16:28

Télécharger (1,38 ko)

Voir les différences:

Subject: [PATCH] change sass-lint rules (#24028)

 .sass-lint.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 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
  include: 'static/**/*.s+(a|c)ss'
17
  ignore:
18
    - 'sass/vendor/**/*.*'
16
  include: 'static/*/*.s+(a|c)ss'
17
  # ignore:
18
  #   - 'sass/vendor/**/*.*'
19 19
# Rule Configuration
20 20
rules:
21 21
  extends-before-mixins: 2
22 22
  extends-before-declarations: 2
23
  placeholder-in-extend: 2
23
  placeholder-in-extend: 1
24 24
  mixins-before-declarations:
25 25
    - 2
26 26
    -
......
29 29
        - mq
30 30

  
31 31
  no-warn: 1
32
  no-debug: 1
33
  no-ids: 1
34
  no-important: 2
32
  no-debug: 2
33
  no-ids: 0
34
  no-important: 1
35 35
  hex-notation:
36
    - 2
36
    - 1
37 37
    -
38 38
      style: uppercase
39 39
  indentation:
......
48 48
        - margin
49 49
      ignore-custom-properties: true
50 50
  variable-for-property:
51
    - 2
51
    - 1
52 52
    -
53 53
      properties:
54 54
        - margin
55
-