-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infrastructure: Bump Stylelint v16 and use MJS config file
- Loading branch information
Showing
5 changed files
with
548 additions
and
1,341 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** @type {import('stylelint').Config} */ | ||
export default { | ||
extends: ['stylelint-config-standard'], | ||
reportNeedlessDisables: true, | ||
reportInvalidScopeDisables: true, | ||
reportDescriptionlessDisables: true, | ||
rules: { | ||
'font-family-no-missing-generic-family-keyword': [ | ||
true, | ||
{ | ||
ignoreFontFamilies: ['Font Awesome 5 Free'], | ||
}, | ||
], | ||
'selector-class-pattern': null, | ||
'selector-id-pattern': null, | ||
// Fixable Stylelint 16 rules | ||
'declaration-block-no-redundant-longhand-properties': null, | ||
'media-feature-range-notation': null, | ||
}, | ||
ignoreFiles: ['node_modules/', 'common/**/*.css', '**/bootstrap*.css'], | ||
}; |
Oops, something went wrong.