vclabs-code-style

0.3.2 • Public • Published

code-style

VC Lab's code style repo.

Getting Started

  1. In your project, install vclabs-code-style as a dev dependency:

    yarn add -D vclabs-code-style
    
  2. In the root of your project, create a .eslintrc.yml file with the following content:

    extends:
      - './node_modules/vclabs-code-style/<choose-your-file>.yml'
    parser: babel-eslint

    The 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.
  3. In your project, install eslint as a dev dependency:

    yarn add -DE eslint
    

Readme

Keywords

none

Package Sidebar

Install

npm i vclabs-code-style

Weekly Downloads

0

Version

0.3.2

License

MIT

Unpacked Size

56 kB

Total Files

7

Last publish

Collaborators

  • mikenikles
  • vclabs-dev