stylelint-config-crisp 1.0.13 → 1.0.14

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 (3) hide show
  1. package/README.md +2 -0
  2. package/index.js +2 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -48,10 +48,12 @@ This is the list of configured syntaxes, plugins and rules used by Stylelint Con
48
48
  * `outline: none` is disallowed (prefer `0`, for consistency)
49
49
  - [keyframe-block-no-duplicate-selectors](https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors/): Rule is **disabled**, in order to allow cascade selectors within keyframe blocks (seems they are not supported by this rule, yet)
50
50
  - [number-max-precision](https://stylelint.io/user-guide/rules/number-max-precision/): Allows a maximum of 5 decimal places in numbers
51
+ - [no-descending-specificity](https://stylelint.io/user-guide/rules/no-descending-specificity/): Rule is **disabled**, as we do not want to check source order
51
52
  - [rule-empty-line-before](https://stylelint.io/user-guide/rules/rule-empty-line-before/): Requires an empty line before multi-line rules
52
53
  * `"first-nested"` is reversed (for rules that are nested and the first child of their parent node, we don't want any empty line)
53
54
  * `"after-comment"` is ignored (for rules that follow a comment)
54
55
  - [selector-class-pattern](https://stylelint.io/user-guide/rules/selector-class-pattern/): Rule is **disabled** as it conflicts with our BEM notation in class selectors
56
+ - [selector-not-notation](https://stylelint.io/user-guide/rules/selector-not-notation/): Enforces simple notation for `:not()` pseudo-class selectors
55
57
  - [selector-pseudo-class-no-unknown](https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown/): Disallows unknown pseudo-class selectors
56
58
  - [selector-pseudo-element-colon-notation](https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation/): Pseudo-elements must use the single colon notation
57
59
 
package/index.js CHANGED
@@ -54,6 +54,7 @@ module.exports = {
54
54
  "outline": ["none"]
55
55
  },
56
56
  "keyframe-block-no-duplicate-selectors": null,
57
+ "no-descending-specificity": null
57
58
  "number-max-precision": 5,
58
59
  "rule-empty-line-before": [
59
60
  "always-multi-line",
@@ -64,6 +65,7 @@ module.exports = {
64
65
  }
65
66
  ],
66
67
  "selector-class-pattern": null,
68
+ "selector-not-notation": "simple",
67
69
  "selector-pseudo-class-no-unknown": [
68
70
  true,
69
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-config-crisp",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Custom Stylelint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",