kopia lustrzana https://github.com/wagtail/wagtail
Remove SelectorFormat scss-lint rule that has so many arbitrary exclusions that there's no point in it existing
rodzic
378516855f
commit
7d3dcc0add
|
@ -86,22 +86,11 @@ linters:
|
|||
SelectorDepth:
|
||||
enabled: false
|
||||
|
||||
# There is currently no de facto standard for selector format in Wagtail, due to:
|
||||
# a) the conversion of django field/widget names to underscored class names
|
||||
# b) the use of third party code such as Hallo.js which uses classes with snakeCaseClasses.
|
||||
SelectorFormat:
|
||||
convention: hyphenated_BEM
|
||||
ignored_names:
|
||||
- js_class
|
||||
ignored_types:
|
||||
- element
|
||||
# There are regretably quite a few exlusions here, made necessary by
|
||||
# a) the conversion of django field/widget names to underscored class names
|
||||
# b) the use of third party code such as Hallo.js which uses classes with snakeCaseClasses.
|
||||
exclude:
|
||||
- '**/rich-text.scss'
|
||||
- '**/_forms.scss'
|
||||
- '**/_streamfield.scss'
|
||||
- '**/page-editor.scss'
|
||||
- '**/_datetimepicker.scss'
|
||||
- '**/choose_parent_page.scss'
|
||||
convention: '.*' # allow anything
|
||||
|
||||
PlaceholderInExtend:
|
||||
enabled: false
|
||||
|
|
Ładowanie…
Reference in New Issue