@justeattakeaway/stylelint-config-pie 0.3.0 → 0.4.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [Added] - Rule for custom property naming convention ([#550](https://github.com/justeattakeaway/pie/pull/550)) by [@ashleynolan](https://github.com/ashleynolan)
8
+
3
9
  ## 0.3.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/stylelint-config-pie",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Shareable Stylelint config for use with any front-end web projects across JET.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
package/rules/base.js CHANGED
@@ -36,6 +36,7 @@ module.exports = {
36
36
  }
37
37
  ],
38
38
  'comment-whitespace-inside': 'always',
39
+ 'custom-property-pattern': '^([a-z][a-z0-9]*)(-[-a-z0-9]+)*$',
39
40
  'declaration-bang-space-after': 'never',
40
41
  'declaration-bang-space-before': 'always',
41
42
  'declaration-block-no-duplicate-properties': [