@xip-online-applications/stylelint-config 0.5.9 → 0.7.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
@@ -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.7.0](https://github.com/xip-online-applications/configs/compare/@xip-online-applications/stylelint-config@0.6.0...@xip-online-applications/stylelint-config@0.7.0) (2023-07-04)
7
+
8
+ ### Features
9
+
10
+ - ditch idiomatic order config and use packaged alphabetical order config ([e87f631](https://github.com/xip-online-applications/configs/commit/e87f6313f6f95a0beb82e907aae9feda0186516c))
11
+
12
+ # [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)
13
+
14
+ - feat!: make separate Stylelint config for SCSS ([53e6f28](https://github.com/xip-online-applications/configs/commit/53e6f28a5ef4299f05c0b0976d0de5961d89ce3f))
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ - Add SCSS config separately in your Stylelint extends.
19
+
6
20
  ## [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)
7
21
 
8
22
  ### Bug Fixes
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  module.exports = {
2
2
  extends: [
3
- 'stylelint-config-standard-scss', // https://github.com/stylelint-scss/stylelint-config-standard-scss
4
- 'stylelint-config-idiomatic-order', // https://github.com/ream88/stylelint-config-idiomatic-order
5
3
  'stylelint-prettier/recommended', // https://github.com/prettier/stylelint-prettier
6
4
  ],
7
5
  plugins: [
@@ -10,6 +8,8 @@ module.exports = {
10
8
  'stylelint-prettier', // https://github.com/prettier/stylelint-prettier
11
9
  ],
12
10
  rules: {
11
+ 'order/properties-alphabetical-order': true,
12
+
13
13
  /**
14
14
  * Other
15
15
  */
@@ -76,17 +76,5 @@ module.exports = {
76
76
  * Plugins
77
77
  */
78
78
  '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
79
  },
92
80
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xip-online-applications/stylelint-config",
3
- "version": "0.5.9",
3
+ "version": "0.7.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-config-idiomatic-order": "^9.0.0",
23
23
  "stylelint-config-standard-scss": "^8.0.0",
24
24
  "stylelint-declaration-block-no-ignored-properties": "^2.7.0",
25
25
  "stylelint-order": "^6.0.3",
@@ -28,5 +28,5 @@
28
28
  "peerDependencies": {
29
29
  "stylelint": "^15.6.0"
30
30
  },
31
- "gitHead": "be9c3d9abd9ecf23fb04ccc9e91d3783cb619404"
31
+ "gitHead": "559f44d410b8c5e1d6b96c74df73e1351e07fc2a"
32
32
  }
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
+ };