@xip-online-applications/stylelint-config 0.5.8 → 0.6.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 +14 -0
- package/index.js +0 -13
- package/package.json +4 -4
- package/scss.js +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.6.0](https://github.com/xip-online-applications/configs/compare/@xip-online-applications/stylelint-config@0.5.9...@xip-online-applications/stylelint-config@0.6.0) (2023-07-04)
|
|
7
|
+
|
|
8
|
+
- feat!: make separate Stylelint config for SCSS ([53e6f28](https://github.com/xip-online-applications/configs/commit/53e6f28a5ef4299f05c0b0976d0de5961d89ce3f))
|
|
9
|
+
|
|
10
|
+
### BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
- Add SCSS config separately in your Stylelint extends.
|
|
13
|
+
|
|
14
|
+
## [0.5.9](https://github.com/xip-online-applications/configs/compare/@xip-online-applications/stylelint-config@0.5.8...@xip-online-applications/stylelint-config@0.5.9) (2023-04-24)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- remove Stylelint dependency and add it as peerDep ([0439d8a](https://github.com/xip-online-applications/configs/commit/0439d8ac76168fd3e9c0ce04c6fad85616e27caf))
|
|
19
|
+
|
|
6
20
|
## [0.5.8](https://github.com/xip-online-applications/configs/compare/@xip-online-applications/stylelint-config@0.5.7...@xip-online-applications/stylelint-config@0.5.8) (2023-04-24)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @xip-online-applications/stylelint-config
|
package/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
extends: [
|
|
3
|
-
'stylelint-config-standard-scss', // https://github.com/stylelint-scss/stylelint-config-standard-scss
|
|
4
3
|
'stylelint-config-idiomatic-order', // https://github.com/ream88/stylelint-config-idiomatic-order
|
|
5
4
|
'stylelint-prettier/recommended', // https://github.com/prettier/stylelint-prettier
|
|
6
5
|
],
|
|
@@ -76,17 +75,5 @@ module.exports = {
|
|
|
76
75
|
* Plugins
|
|
77
76
|
*/
|
|
78
77
|
'plugin/declaration-block-no-ignored-properties': true, // https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties
|
|
79
|
-
'scss/at-each-key-value-single-line': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-each-key-value-single-line/README.md
|
|
80
|
-
'scss/at-extend-no-missing-placeholder': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-extend-no-missing-placeholder/README.md
|
|
81
|
-
'scss/at-import-no-partial-leading-underscore': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-no-partial-leading-underscore/README.md
|
|
82
|
-
'scss/at-import-partial-extension': 'never', // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension/README.md
|
|
83
|
-
'scss/at-mixin-argumentless-call-parentheses': 'always', // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-argumentless-call-parentheses/README.md
|
|
84
|
-
'scss/at-rule-conditional-no-parentheses': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-rule-conditional-no-parentheses/README.md
|
|
85
|
-
'scss/at-rule-no-unknown': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-rule-no-unknown/README.md
|
|
86
|
-
'scss/comment-no-loud': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/comment-no-loud/README.md
|
|
87
|
-
'scss/declaration-nested-properties': 'never', // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/declaration-nested-properties/README.md
|
|
88
|
-
'scss/function-color-relative': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-color-relative/README.md
|
|
89
|
-
'scss/no-duplicate-mixins': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/no-duplicate-mixins/README.md
|
|
90
|
-
'scss/selector-no-redundant-nesting-selector': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/selector-no-redundant-nesting-selector/README.md
|
|
91
78
|
},
|
|
92
79
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xip-online-applications/stylelint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"main": "./index.js",
|
|
15
15
|
"files": [
|
|
16
16
|
"index.js",
|
|
17
|
+
"scss.js",
|
|
17
18
|
"README.md",
|
|
18
19
|
"CHANGELOG.md",
|
|
19
20
|
"LICENSE"
|
|
20
21
|
],
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"stylelint": "15.6.0",
|
|
23
23
|
"stylelint-config-idiomatic-order": "^9.0.0",
|
|
24
24
|
"stylelint-config-standard-scss": "^8.0.0",
|
|
25
25
|
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"stylelint-prettier": "^3.0.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"stylelint": "^15.
|
|
30
|
+
"stylelint": "^15.6.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "943915ccfc723ae1d1d7b55d1aa3406f37dd5c47"
|
|
33
33
|
}
|
package/scss.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: [
|
|
3
|
+
'stylelint-config-standard-scss', // https://github.com/stylelint-scss/stylelint-config-standard-scss
|
|
4
|
+
],
|
|
5
|
+
rules: {
|
|
6
|
+
'scss/at-each-key-value-single-line': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-each-key-value-single-line/README.md
|
|
7
|
+
'scss/at-extend-no-missing-placeholder': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-extend-no-missing-placeholder/README.md
|
|
8
|
+
'scss/at-import-no-partial-leading-underscore': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-no-partial-leading-underscore/README.md
|
|
9
|
+
'scss/at-import-partial-extension': 'never', // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension/README.md
|
|
10
|
+
'scss/at-mixin-argumentless-call-parentheses': 'always', // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-argumentless-call-parentheses/README.md
|
|
11
|
+
'scss/at-rule-conditional-no-parentheses': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-rule-conditional-no-parentheses/README.md
|
|
12
|
+
'scss/at-rule-no-unknown': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-rule-no-unknown/README.md
|
|
13
|
+
'scss/comment-no-loud': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/comment-no-loud/README.md
|
|
14
|
+
'scss/declaration-nested-properties': 'never', // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/declaration-nested-properties/README.md
|
|
15
|
+
'scss/function-color-relative': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-color-relative/README.md
|
|
16
|
+
'scss/no-duplicate-mixins': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/no-duplicate-mixins/README.md
|
|
17
|
+
'scss/selector-no-redundant-nesting-selector': true, // https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/selector-no-redundant-nesting-selector/README.md
|
|
18
|
+
},
|
|
19
|
+
};
|