Skip to content

Commit dfd52f1

Browse files
committed
fix: temporarily disable no-invalid-position-declaration
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
1 parent 99ff28c commit dfd52f1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ module.exports = {
5656
},
5757
],
5858

59+
// Added in 16.23.0 to prevent CSS variables declaration outside rules
60+
// The rule often results in false positives on update due to multiple csstools packages, requiring "npm dedupe"
61+
// See: https://github.com/stylelint/stylelint/issues/9252
62+
// The rule doesn't seem to be very useful
63+
// Disabling to avoid false positives on updates until the upstream issue is resolved
64+
'no-invalid-position-declaration': null,
65+
5966
// Consistent with ES imports
6067
'scss/load-partial-extension': 'always',
6168

0 commit comments

Comments
 (0)