Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

246 lines
4.3 KiB

  1. # Default application configuration that all configurations inherit from.
  2. scss_files: "**/*.scss"
  3. plugin_directories: ['.scss-linters']
  4. # List of gem names to load custom linters from (make sure they are already
  5. # installed)
  6. plugin_gems: []
  7. # Default severity of all linters.
  8. severity: warning
  9. linters:
  10. BangFormat:
  11. enabled: true
  12. space_before_bang: true
  13. space_after_bang: false
  14. BemDepth:
  15. enabled: false
  16. max_elements: 1
  17. BorderZero:
  18. enabled: true
  19. convention: zero # or `none`
  20. ChainedClasses:
  21. enabled: false
  22. ColorKeyword:
  23. enabled: true
  24. ColorVariable:
  25. enabled: false
  26. Comment:
  27. enabled: true
  28. style: silent
  29. DebugStatement:
  30. enabled: true
  31. DeclarationOrder:
  32. enabled: true
  33. DisableLinterReason:
  34. enabled: false
  35. DuplicateProperty:
  36. enabled: true
  37. ElsePlacement:
  38. enabled: true
  39. style: same_line # or 'new_line'
  40. EmptyLineBetweenBlocks:
  41. enabled: true
  42. ignore_single_line_blocks: true
  43. EmptyRule:
  44. enabled: true
  45. ExtendDirective:
  46. enabled: false
  47. FinalNewline:
  48. enabled: true
  49. present: true
  50. HexLength:
  51. enabled: false
  52. style: short # or 'long'
  53. HexNotation:
  54. enabled: true
  55. style: uppercase # or 'lowercase'
  56. HexValidation:
  57. enabled: true
  58. IdSelector:
  59. enabled: false
  60. ImportantRule:
  61. enabled: true
  62. ImportPath:
  63. enabled: true
  64. leading_underscore: false
  65. filename_extension: false
  66. Indentation:
  67. enabled: true
  68. allow_non_nested_indentation: false
  69. character: space # or 'tab'
  70. width: 4
  71. LeadingZero:
  72. enabled: true
  73. style: exclude_zero # or 'include_zero'
  74. MergeableSelector:
  75. enabled: true
  76. force_nesting: true
  77. NameFormat:
  78. enabled: true
  79. allow_leading_underscore: true
  80. convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern
  81. NestingDepth:
  82. enabled: false
  83. max_depth: 4
  84. ignore_parent_selectors: false
  85. PlaceholderInExtend:
  86. enabled: true
  87. PrivateNamingConvention:
  88. enabled: false
  89. prefix: _
  90. PropertyCount:
  91. enabled: false
  92. include_nested: false
  93. max_properties: 10
  94. PropertySortOrder:
  95. enabled: true
  96. ignore_unspecified: false
  97. min_properties: 2
  98. separate_groups: false
  99. PropertySpelling:
  100. enabled: true
  101. extra_properties: []
  102. disabled_properties: []
  103. PseudoElement:
  104. enabled: true
  105. QualifyingElement:
  106. enabled: true
  107. allow_element_with_attribute: false
  108. allow_element_with_class: false
  109. allow_element_with_id: false
  110. SelectorDepth:
  111. enabled: false
  112. max_depth: 4
  113. SelectorFormat:
  114. enabled: false
  115. convention: hyphenated_lowercase # or 'classic_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
  116. Shorthand:
  117. enabled: true
  118. allowed_shorthands: [1, 2, 3, 4]
  119. SingleLinePerProperty:
  120. enabled: true
  121. allow_single_line_rule_sets: false
  122. SingleLinePerSelector:
  123. enabled: true
  124. SpaceAfterComma:
  125. enabled: true
  126. style: one_space # or 'no_space', or 'at_least_one_space'
  127. SpaceAfterComment:
  128. enabled: false
  129. style: one_space # or 'no_space', or 'at_least_one_space'
  130. allow_empty_comments: true
  131. SpaceAfterPropertyColon:
  132. enabled: true
  133. style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
  134. SpaceAfterPropertyName:
  135. enabled: true
  136. SpaceAfterVariableColon:
  137. enabled: false
  138. style: one_space # or 'no_space', 'at_least_one_space' or 'one_space_or_newline'
  139. SpaceAfterVariableName:
  140. enabled: true
  141. SpaceAroundOperator:
  142. enabled: true
  143. style: one_space # or 'at_least_one_space', or 'no_space'
  144. SpaceBeforeBrace:
  145. enabled: true
  146. style: space # or 'new_line'
  147. allow_single_line_padding: false
  148. SpaceBetweenParens:
  149. enabled: true
  150. spaces: 0
  151. StringQuotes:
  152. enabled: true
  153. style: double_quotes # or single_quotes
  154. TrailingSemicolon:
  155. enabled: true
  156. TrailingWhitespace:
  157. enabled: true
  158. TrailingZero:
  159. enabled: false
  160. TransitionAll:
  161. enabled: false
  162. UnnecessaryMantissa:
  163. enabled: true
  164. UnnecessaryParentReference:
  165. enabled: true
  166. UrlFormat:
  167. enabled: true
  168. UrlQuotes:
  169. enabled: true
  170. VariableForProperty:
  171. enabled: false
  172. properties: []
  173. VendorPrefix:
  174. enabled: true
  175. identifier_list: base
  176. additional_identifiers: []
  177. excluded_identifiers: []
  178. ZeroUnit:
  179. enabled: true
  180. Compass::*:
  181. enabled: false