Skip to content

Commit c5b09bc

Browse files
committed
Move reportNeedlessDisables into shared configuration
1 parent cb5fa3f commit c5b09bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.stylelintrc.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"extends": "@18f/identity-stylelint-config",
3-
"ignoreFiles": "**/fixtures/**/*",
4-
"reportNeedlessDisables": true
3+
"ignoreFiles": "**/fixtures/**/*"
54
}

app/javascript/packages/stylelint-config/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [`scss/dollar-variable-empty-line-before`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-empty-line-before/README.md)
1313
- [`scss/double-slash-comment-empty-line-before`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/double-slash-comment-empty-line-before/README.md)
1414
- [`color-function-notation`](https://stylelint.io/user-guide/rules/color-function-notation/) (due to [Sass incompatibilities](https://github.com/sass/sass/issues/2831))
15+
- The ruleset now configures [`"reportNeedlessDisables": true`](https://stylelint.io/user-guide/options/#reportneedlessdisables), which will report inline configuration that disables rules unnecessarily.
1516

1617
## 4.1.0
1718

0 commit comments

Comments
 (0)