Remove SelectorFormat scss-lint rule that has so many arbitrary exclusions that there's no point in it existing

pull/3137/head
Matt Westcott 2016-10-13 11:51:29 +01:00
rodzic 378516855f
commit 7d3dcc0add
1 zmienionych plików z 4 dodań i 15 usunięć

Wyświetl plik

@ -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