vclabs-code-style
v0.3.2
Published
VC Lab's code style.
Downloads
2
Readme
code-style
VC Lab's code style repo.
Getting Started
In your project, install
vclabs-code-styleas a dev dependency:yarn add -D vclabs-code-styleIn the root of your project, create a
.eslintrc.ymlfile with the following content:extends: - './node_modules/vclabs-code-style/<choose-your-file>.yml' parser: babel-eslintThe available templates are:
eslint-es6.yml: Plain ES6 rules.eslint-es6-react.yml: The above, plus React-specific rules.eslint-react-a11y.yml: The above, plus a11y-specific rules.
In your project, install
eslintas a dev dependency:yarn add -DE eslint
