@commencis/stylelint-config 1.3.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 +6 -0
- package/dist/styled.js +5 -20
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
};
|