3.1.2 • Published 3 years ago

@stockvio/eslint-config v3.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@stockvio/eslint-config

Prettier & Typescript ready config for ESLint, along with a few rules to match Stockvio's coding standards and style.

Usage

Be sure to have eslint, typescript and prettier installed first

Install the config:

$ yarn add -D @stockvio/eslint-config
# or
$ npm intall --save-dev @stockvio/eslint-config

Then, add @stockvio to the extends array in your .eslintrc.* file. Make sure to put it last, so it gets the chance to override other configs.

{
  "extends": [
    "some-other-config-you-use",
    "@stockvio"
  ]
}

React

If using with ReactJS, you will need to install the React plugin as well:

$ yarn add -D eslint-plugin-react

Last, you will need to make a few additions your eslint config. It should look like this:

{
  "extends": ["@stockvio"],
  "env": {
    "browser": true
  },
  "plugins": ["react"]
}
3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.0.4

3 years ago

2.1.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago