Skip to content

Commit

Permalink
add comments for rules in stylelint config
Browse files Browse the repository at this point in the history
  • Loading branch information
poojagunturu96 committed Jul 29, 2024
1 parent 72aefcb commit 88f3d51
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions stylelint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,19 @@ module.exports = {
// which requires `font-family: 'object-fit: <value>;';`
'font-family-no-missing-generic-family-keyword': null,

'indentation': null,

'alpha-value-notation': null,
// Check if alpha-values are using the number notation
'alpha-value-notation': 'number',

'selector-no-qualifying-type': [true, {
'ignore': ['class']
}],
// Allow class selectors qualified by type
'selector-no-qualifying-type': [
true,
{
'ignore': ['class']
}
],

// deprecated rules in Stylelint v15
'indentation': null,
'no-eol-whitespace': null,
'media-query-list-comma-newline-after': null,
'declaration-colon-newline-after': null,
Expand Down

0 comments on commit 88f3d51

Please sign in to comment.