@xip-online-applications/stylelint-config 0.5.9 → 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 CHANGED
@@ -3,6 +3,14 @@
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
+
6
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)
7
15
 
8
16
  ### Bug Fixes
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.5.9",
3
+ "version": "0.6.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,6 +14,7 @@
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"
@@ -28,5 +29,5 @@
28
29
  "peerDependencies": {
29
30
  "stylelint": "^15.6.0"
30
31
  },
31
- "gitHead": "be9c3d9abd9ecf23fb04ccc9e91d3783cb619404"
32
+ "gitHead": "943915ccfc723ae1d1d7b55d1aa3406f37dd5c47"
32
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
+ };