12 Code quality tools - pimmey/axala-docs GitHub Wiki

To ensure the consistency of code as well as its best practices we've decided to use linters. ESLint for JavaScript and scss-lint for Sass.

ESLint

This linter is very powerful and configurable. Write JavaScript like a pro, ESLint will give you hints and mark obvious errors. Check out the configuration file – .eslintrc to see how we configured this project.

scss-lint

Writing styles can be quite difficult. Do you always remember the correct order of your properties, what goes first, an @include or position? Can you track whether the rules have been rightly nested or if you've used correct spacing? scss-lint is the answer :relieved:

See our configuration file – .scss-lint.yml.