@open-xchange/linter-presets 0.11.0 → 0.11.1
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 +4 -0
- package/dist/stylelint/index.js +11 -2
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
package/dist/stylelint/index.js
CHANGED
|
@@ -71,7 +71,7 @@ export function configure(options) {
|
|
|
71
71
|
},
|
|
72
72
|
// overrides for custom languages
|
|
73
73
|
overrides: [
|
|
74
|
-
//
|
|
74
|
+
// ".scss" files
|
|
75
75
|
{
|
|
76
76
|
files: ["**/*.scss"],
|
|
77
77
|
extends: ["stylelint-config-standard-scss"],
|
|
@@ -80,7 +80,7 @@ export function configure(options) {
|
|
|
80
80
|
...rules.scss,
|
|
81
81
|
},
|
|
82
82
|
},
|
|
83
|
-
//
|
|
83
|
+
// ".less" files
|
|
84
84
|
{
|
|
85
85
|
files: ["**/*.less"],
|
|
86
86
|
extends: ["stylelint-config-standard-less"],
|
|
@@ -88,6 +88,15 @@ export function configure(options) {
|
|
|
88
88
|
...rules.less,
|
|
89
89
|
},
|
|
90
90
|
},
|
|
91
|
+
// ".vue" files (for now, only with SCSS)
|
|
92
|
+
{
|
|
93
|
+
files: ["**/*.vue"],
|
|
94
|
+
extends: ["stylelint-config-standard-less", "stylelint-config-standard-vue/scss"],
|
|
95
|
+
rules: {
|
|
96
|
+
"scss/double-slash-comment-empty-line-before": null,
|
|
97
|
+
...rules.scss,
|
|
98
|
+
},
|
|
99
|
+
},
|
|
91
100
|
],
|
|
92
101
|
};
|
|
93
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,9 +57,11 @@
|
|
|
57
57
|
"find-up": "^7.0.0",
|
|
58
58
|
"globals": "^15.12.0",
|
|
59
59
|
"picomatch": "^4.0.2",
|
|
60
|
+
"postcss-html": "^1.7.0",
|
|
60
61
|
"stylelint-config-standard": "^36.0.1",
|
|
61
62
|
"stylelint-config-standard-less": "^3.0.1",
|
|
62
63
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
64
|
+
"stylelint-config-standard-vue": "^1.0.0",
|
|
63
65
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
64
66
|
"typescript-eslint": "^8.15.0",
|
|
65
67
|
"vue-eslint-parser": "^9.4.3"
|