Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
extends: [
'stylelint-config-sass-guidelines'
],
rules: {
// Allow @use instead of @import
'scss/no-global-function-names': null,
// Allow math.div() function
'scss/at-function-pattern': null,
// Allow nested selectors for flexbox grid utility classes
'max-nesting-depth': 5,
// Allow longer selector names for utility classes
'selector-max-compound-selectors': 5,
// Allow vendor prefixes for flex properties (for IE11 compatibility)
'property-no-vendor-prefix': null,
// Allow long lines for grid template areas (rule doesn't exist in stylelint)
// 'max-line-length': null,
// Allow important declarations for utility classes
'declaration-no-important': null,
// Allow double quotes for consistency with existing code
'@stylistic/string-quotes': null,
// Allow flexible indentation for generated code
'@stylistic/indentation': null
}
};
Loading