@commencis/stylelint-config 1.3.0 → 2.0.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 +16 -0
- package/dist/styled.js +5 -20
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @commencis/stylelint-config
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- chore: peerDependency `stylelint` now requires `>=16.13` ([#205](https://github.com/Commencis/js-toolkit/pull/205))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- chore(deps): update dependency postcss-styled-syntax to v0.7.1 ([#208](https://github.com/Commencis/js-toolkit/pull/208))
|
|
12
|
+
|
|
13
|
+
## 1.4.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- feat: update styled-components config to resolve conflicts with stylistic rules ([#183](https://github.com/Commencis/js-toolkit/pull/183))
|
|
18
|
+
|
|
3
19
|
## 1.3.0
|
|
4
20
|
|
|
5
21
|
### 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
|
-
//
|
|
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
|
-
|
|
668
|
+
extends: ["stylelint-config-standard"],
|
|
669
|
+
plugins: ["stylelint-order"],
|
|
686
670
|
customSyntax: "postcss-styled-syntax",
|
|
687
671
|
rules: {
|
|
688
|
-
...
|
|
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": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Commencis Stylelint config",
|
|
5
5
|
"author": "Commencis WEB Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@stylistic/stylelint-config": "2.0.0",
|
|
38
|
-
"postcss-styled-syntax": "0.7.
|
|
38
|
+
"postcss-styled-syntax": "0.7.1",
|
|
39
39
|
"stylelint-config-html": "1.1.0",
|
|
40
40
|
"stylelint-config-prettier-scss": "1.0.0",
|
|
41
|
-
"stylelint-config-standard": "
|
|
41
|
+
"stylelint-config-standard": "37.0.0",
|
|
42
42
|
"stylelint-config-standard-scss": "14.0.0",
|
|
43
43
|
"stylelint-order": "6.0.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
46
|
+
"@commencis/ts-config": "0.0.2",
|
|
47
|
+
"tsup": "8.3.6",
|
|
48
|
+
"typescript": "5.7.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"stylelint": ">=16.
|
|
51
|
+
"stylelint": ">=16.13"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"dev": "tsup --watch",
|