# Default application configuration that all configurations inherit from. scss_files: - 'app/assets/stylesheets/**/*.scss' - 'app/javascript/styles/**/*.scss' exclude: - 'app/assets/javascript/styles/vendors/**/*.scss' plugin_directories: ['.scss-linters'] # List of gem names to load custom linters from (make sure they are already # installed) plugin_gems: [] # Default severity of all linters. severity: warning linters: BangFormat: enabled: true space_before_bang: true space_after_bang: false BemDepth: enabled: true max_elements: 3 BorderZero: enabled: true convention: zero # or `none` DisableLinterReason: enabled: true # need a reason for inline disable linter # Not allow to use extend ExtendDirective: enabled: true HexNotation: enabled: true style: lowercase LeadingZero: enabled: false NameFormat: enabled: true allow_leading_underscore: false convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern NestingDepth: enabled: true max_depth: 3 ignore_parent_selectors: false PlaceholderInExtend: enabled: true PrivateNamingConvention: enabled: false prefix: _ PropertyCount: enabled: false include_nested: false max_properties: 10 PropertySortOrder: enabled: true order: concentric ignore_unspecified: true min_properties: 2 separate_groups: false PropertyUnits: enabled: true global: [ 'ch', 'em', 'ex', 'rem', # Font-relative lengths 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths 'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths 'deg', 'grad', 'rad', 'turn', # Angle 'ms', 's', # Duration 'Hz', 'kHz', # Frequency 'dpi', 'dpcm', 'dppx', # Resolution '%'] # Other properties: {} PseudoElement: enabled: true QualifyingElement: enabled: false SelectorDepth: enabled: true max_depth: 3 SelectorFormat: enabled: true convention: hyphenated_BEM Shorthand: enabled: true allowed_shorthands: [1, 2, 3, 4] SingleLinePerProperty: enabled: true allow_single_line_rule_sets: true SingleLinePerSelector: enabled: true SpaceAfterComment: enabled: true style: one_space # or 'no_space', or 'at_least_one_space' allow_empty_comments: false SpaceAfterPropertyColon: enabled: true style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned' SpaceAfterPropertyName: enabled: true SpaceAfterVariableColon: enabled: true style: one_space # or 'no_space', 'at_least_one_space' or 'one_space_or_newline' SpaceAfterVariableName: enabled: true SpaceAroundOperator: enabled: true style: one_space # or 'at_least_one_space', or 'no_space' SpaceBeforeBrace: enabled: false style: space # or 'new_line' allow_single_line_padding: false SpaceBetweenParens: enabled: true spaces: 0 StringQuotes: enabled: true style: single_quotes # or double_quotes TrailingSemicolon: enabled: true TrailingWhitespace: enabled: true TrailingZero: enabled: true TransitionAll: enabled: false UnnecessaryMantissa: enabled: true UnnecessaryParentReference: enabled: true UrlFormat: enabled: true UrlQuotes: enabled: true VariableForProperty: enabled: true properties: - color - front VendorPrefix: enabled: true identifier_list: base additional_identifiers: [] excluded_identifiers: [] ZeroUnit: enabled: true Compass::*: enabled: false