Check that all file names comply with convention (include SCSS files)
We just found a need for checking names of SCSS file to be consistent with our convention(s)—especially for merge requests from new contributors.
It looks like the existing linters don't provide such an option:
- Rubocop only checks *.rb
- ESLint only checks *.js
- scss_lint cannot check file names (and a custom linter would be hacky)
In my opinion, these are the options:
- write a linter for only that purpose (shell script / rake task / npm script)
- use danger (#20700 (moved))
- use an existing tool (e.g. https://github.com/usabilla/fnlint)
- don't lint but manually check file names