javascript
, typescript
, vue
, css
, and scss
. We love linting to be as strict as possible.npm run lint
to run everything we have.eslint
to lint javascript
and typescript
. We stick to wemake
code style. It is just like standard
config, but stricter. But, we have some additional checks that make our style even more stricter.js
linting execute: npm run lint:js
..eslintrc.js
. We also have some specific configuration that is applied for tests only. It is located inside tests/.eslintrc.js
file.jsdoc
annotation. The rule is simple: if you write jsdoc
you should write a correct one. You may not write them at all (however, that's not good).javascript
linting.stylelint
to validate our css
and scss
files. We also use strict config here. We stick to stylelint-config-strict-scss
.stylelint
is not related with eslint
at all. It is a standalone tool. Other plugins for languages like stylus
, sass
, and post-css
can also be installed if you need them.css
linting execute: npm run lint:css
.stylelint
and eslint
with the help of:remark-lint
. This tool allows us to write consistent documentation and README
files.md
linting execute: npm run lint:md
.