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

Implement "Import Path" lint rule #10

Open
srawlins opened this issue Jul 6, 2018 · 0 comments
Open

Implement "Import Path" lint rule #10

srawlins opened this issue Jul 6, 2018 · 0 comments

Comments

@srawlins
Copy link
Collaborator

srawlins commented Jul 6, 2018

Need to implement a lint rule that reports import paths that do not fit the brief, human-readable style. Namely, underscores and file suffixes are unnecessary.

@import "partials/_colors.scss";  // LINT
@import "partials/_colors";       // LINT
@import "partials/colors.scss";   // LINT

@import "partials/colors";        // OK

This is similar to scss-lint's ImportPath.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant