sass / linter

An experimental Sass linter written using the Dart Sass AST
MIT License
39 stars 6 forks source link

Implement "Import Path" lint rule #10

Open srawlins opened 6 years ago

srawlins commented 6 years ago

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.