@commencis/stylelint-config 1.2.0 → 1.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,19 @@
1
1
  # @commencis/stylelint-config
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: update styled-components config to resolve conflicts with stylistic rules ([#183](https://github.com/Commencis/js-toolkit/pull/183))
8
+
9
+ ## 1.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - **[BREAKING CHANGE]**: peer dependency `stylelint` now requires `>=16.11` ([#166](https://github.com/Commencis/js-toolkit/pull/166))
14
+
15
+ update dependency: `stylelint-config-recommended-scss@14.1.0`
16
+
3
17
  ## 1.2.0
4
18
 
5
19
  ### Minor Changes
package/dist/styled.js CHANGED
@@ -659,33 +659,18 @@ var styledRules = {
659
659
  "no-empty-source": null,
660
660
  // Disallow vendor prefixes for values
661
661
  "value-no-vendor-prefix": true,
662
- // Disallow vendor prefixes for properties
662
+ // Disallow vendor prefixes for properties
663
663
  "property-no-vendor-prefix": true
664
664
  };
665
665
 
666
- // src/rules/stylisticRules.ts
667
- var stylisticRules = {
668
- "@stylistic/string-quotes": "single"
669
- };
670
-
671
- // src/configs/css.ts
672
- var cssConfig = {
673
- extends: ["stylelint-config-standard", "@stylistic/stylelint-config"],
674
- plugins: ["stylelint-order"],
675
- rules: {
676
- ...cssRules,
677
- ...orderRules,
678
- ...stylisticRules
679
- }
680
- };
681
- var css_default = cssConfig;
682
-
683
666
  // src/configs/styled.ts
684
667
  var styledComponentsConfig = {
685
- ...css_default,
668
+ extends: ["stylelint-config-standard"],
669
+ plugins: ["stylelint-order"],
686
670
  customSyntax: "postcss-styled-syntax",
687
671
  rules: {
688
- ...css_default.rules,
672
+ ...cssRules,
673
+ ...orderRules,
689
674
  ...styledRules
690
675
  }
691
676
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commencis/stylelint-config",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Commencis Stylelint config",
5
5
  "author": "Commencis WEB Team",
6
6
  "license": "Apache-2.0",
@@ -39,16 +39,16 @@
39
39
  "stylelint-config-html": "1.1.0",
40
40
  "stylelint-config-prettier-scss": "1.0.0",
41
41
  "stylelint-config-standard": "36.0.1",
42
- "stylelint-config-standard-scss": "13.1.0",
42
+ "stylelint-config-standard-scss": "14.0.0",
43
43
  "stylelint-order": "6.0.4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "tsup": "8.3.5",
47
- "typescript": "5.6.3",
47
+ "typescript": "5.7.2",
48
48
  "@commencis/ts-config": "0.0.2"
49
49
  },
50
50
  "peerDependencies": {
51
- "stylelint": ">= 16.8"
51
+ "stylelint": ">=16.11"
52
52
  },
53
53
  "scripts": {
54
54
  "dev": "tsup --watch",