@redturtle/eslint-config
v3.0.1
Published
Shared eslint config for js projects
Downloads
6
Readme
RedTurtle - eslint-config
This package provides an eslint-config with mostly recommended rules. It already includes prettier configuration.
Installation and usage
Install with yarn or npm:
# Yarn
$ yarn add --dev @redturtle/eslint-config
# Npm
$ npm install --save-dev @redturtle/eslint-config
If you don't have those already, install peer dependencies:
# Yarn
$ yarn add --dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier prettier
# Npm
$ npm install --save-dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier prettier
Extend this config in your .eslintrc
file:
{
"extends": "@redturtle/eslint-config"
}