scss. We love linting to be as strict as possible.
npm run lintto run everything we have.
typescript. We stick to
wemakecode style. It is just like
standardconfig, but stricter. But, we have some additional checks that make our style even more stricter.
npm run lint:js.
.eslintrc.js. We also have some specific configuration that is applied for tests only. It is located inside
jsdocannotation. The rule is simple: if you write
jsdocyou should write a correct one. You may not write them at all (however, that's not good).
stylelintis not related with
eslintat all. It is a standalone tool. Other plugins for languages like
post-csscan also be installed if you need them.
npm run lint:css.
eslintwith the help of:
remark-lint. This tool allows us to write consistent documentation and
npm run lint:md.