Skip to content

Commit

Permalink
Infrastructure: Bump Stylelint v16 and use MJS config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Jul 31, 2024
1 parent d784b7e commit 6c892b2
Show file tree
Hide file tree
Showing 5 changed files with 548 additions and 1,341 deletions.
3 changes: 0 additions & 3 deletions .stylelintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .stylelintrc

This file was deleted.

21 changes: 21 additions & 0 deletions .stylelintrc.mjs
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'],
};
Loading

0 comments on commit 6c892b2

Please sign in to comment.