-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disallow usage of certain properties #546
Comments
We favour small single purpose rules so we would probably prefer a completely separate rule for this as checking the spelling of a property and also disallowing properties is technically two different use cases. Something like |
We prefer single targeted rules as much as possible, so we'd prefer a separate rule disallowing properties to an option on misspelled rules. That being said, I think that's fine, I'd be open to adding that rule.
|
According to this
https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md#propertyspelling
scss-lint supports such a feature. There is a similar linter 'no-misspelled-properties' in sass-lint but its config can include only 'extra_properties'.
What do you think about extending functionality of 'no-misspelled-properties' to support 'disabled_properties' too? Source code of this linter looks pretty simple so creating a pull request wouldn't be difficult.
The text was updated successfully, but these errors were encountered: