Skip to content

Commit 088239a

Browse files
authored
Merge pull request #1 from yasharsanaei/udpate-to-stylelint-16
Update to stylelint 16
2 parents 87b748a + bb9b7dd commit 088239a

File tree

3 files changed

+5226
-12954
lines changed

3 files changed

+5226
-12954
lines changed

index.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
extends: ['stylelint-config-standard-scss', 'stylelint-config-prettier-scss'],
33
plugins: [
44
'stylelint-declaration-strict-value',
5-
'stylelint-no-unused-selectors',
5+
// 'stylelint-no-unused-selectors', //TODO: this package has no updates since Aug 2021 and is not compatible with new stylelint version, removed from package.json.
66
'stylelint-use-logical-spec',
77
'stylelint-max-lines',
88
'@signal-noise/stylelint-scales',
@@ -12,12 +12,10 @@ module.exports = {
1212
'custom-property-pattern': ['^_?[A-z0-9-]+$', { severity: 'warning' }],
1313
'scss/dollar-variable-pattern': /^[-_]?[a-z0-9\-]+/,
1414
'selector-type-case': ['lower', { severity: 'error' }],
15-
'property-case': ['lower', { severity: 'error' }],
1615
'declaration-empty-line-before': null,
17-
'unit-case': ['lower', { severity: 'error' }],
16+
'value-keyword-case': ['lower', { severity: 'error' }],
1817
'rule-empty-line-before': null,
1918
'scss/dollar-variable-empty-line-before': null,
20-
'value-keyword-case': null,
2119
'custom-property-empty-line-before': null,
2220
'scss/double-slash-comment-empty-line-before': null,
2321

@@ -46,7 +44,7 @@ module.exports = {
4644
severity: 'error',
4745
},
4846
],
49-
'plugin/no-unused-selectors': [true, { severity: 'warning' }],
47+
// 'plugin/no-unused-selectors': [true, { severity: 'warning' }], //TODO: this package has no updates since Aug 2021 and is not compatible with new stylelint version, removed from package.json.
5048
'selector-max-compound-selectors': [4, { severity: 'warning' }],
5149
'no-duplicate-selectors': [true, { severity: 'error' }],
5250
'selector-max-type': [

0 commit comments

Comments
 (0)