@siemens/stylelint-config-scss 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -2
  2. package/stylelintrc.yml +50 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siemens/stylelint-config-scss",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "Configuration for Stylelint using SCSS (Sass).",
5
5
  "files": [
6
6
  "*.yml",
@@ -26,7 +26,6 @@
26
26
  "license": "MIT",
27
27
  "peerDependencies": {
28
28
  "stylelint": "^16.8.1",
29
- "stylelint-config-sass-guidelines": "^11.1.0",
30
29
  "stylelint-scss": "^6.5.1"
31
30
  }
32
31
  }
package/stylelintrc.yml CHANGED
@@ -1,6 +1,54 @@
1
- extends:
2
- - stylelint-config-sass-guidelines
1
+ plugins:
2
+ - stylelint-scss
3
3
  rules:
4
+ at-rule-disallowed-list:
5
+ - debug
6
+ at-rule-no-unknown: null
7
+ at-rule-no-vendor-prefix: true
8
+ block-no-empty: true
9
+ color-hex-length: short
10
+ color-no-invalid-hex: true
11
+ declaration-block-single-line-max-declarations: 1
12
+ declaration-property-value-disallowed-list:
13
+ border:
14
+ - none
15
+ border-top:
16
+ - none
17
+ border-right:
18
+ - none
19
+ border-bottom:
20
+ - none
21
+ border-left:
22
+ - none
23
+ function-url-quotes: always
24
+ length-zero-no-unit: true
25
+ media-feature-name-no-vendor-prefix: true
26
+ property-no-unknown: true
27
+ property-no-vendor-prefix: true
28
+ rule-empty-line-before:
29
+ - always-multi-line
30
+ - except:
31
+ - first-nested
32
+ ignore:
33
+ - after-comment
34
+ selector-class-pattern:
35
+ - '^[a-z0-9\-]+$'
36
+ - message: 'Selector should be written in lowercase with hyphens (selector-class-pattern)'
37
+ selector-max-id: 0
38
+ selector-no-vendor-prefix: true
39
+ selector-pseudo-element-colon-notation: double
40
+ shorthand-property-no-redundant-values: true
41
+ value-no-vendor-prefix: true
42
+ scss/at-function-pattern: '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$'
43
+ scss/at-import-partial-extension-disallowed-list:
44
+ - scss
45
+ scss/at-rule-no-unknown: true
46
+ scss/dollar-variable-colon-space-before: never
47
+ scss/dollar-variable-pattern: '^[_]?[a-z]+([a-z0-9-]+[a-z0-9]+)?$'
48
+ scss/load-no-partial-leading-underscore: true
49
+ scss/no-global-function-names: true
50
+ scss/percent-placeholder-pattern: '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$'
51
+ scss/selector-no-redundant-nesting-selector: true
4
52
  color-named: never
5
53
  color-no-hex: true
6
54
  declaration-no-important: true