Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Add a lint for non-idiomatic identifier names #32

Open
nex3 opened this issue Dec 3, 2018 · 1 comment
Open

Add a lint for non-idiomatic identifier names #32

nex3 opened this issue Dec 3, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@nex3
Copy link

nex3 commented Dec 3, 2018

Sass allows either underscores or hyphens to be used interchangeably as identifier separators, but hyphens are preferred as they match CSS's own naming conventions. We should have a lint for any Sass identifier (variable, mixin, function, or placeholder name) that complains about underscores and suggests using hyphens instead.

@nex3 nex3 added the enhancement New feature or request label Dec 3, 2018
@nex3
Copy link
Author

nex3 commented Dec 6, 2018

It's probably also a good idea to complain about camel-case names.

@nex3 nex3 changed the title Add a lint for underscore-separated identifier names Add a lint for non-idiomatic identifier names Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant