4.0.0 • Published 3 years ago
@dre1080/eslint-config v4.0.0
eslint-config
Sharable eslint config.
Install
Install eslint, prettier and @dre1080/eslint-config:
With Yarn
$ yarn add --dev eslint prettier @dre1080/eslint-configWith npm
$ npm install eslint prettier @dre1080/eslint-config --save-devUsage
JSON ESLint config example:
{
"extends": ["@dre1080"]
}This package also exposes other configs that can be used for specific types of projects.
@dre1080/eslint-config/nuxt for Nuxt.js based projects:
{
"extends": ["@dre1080/eslint-config/nuxt"]
}Add a prettier config in package.json:
{
...
"prettier": "@dre1080/prettier-config"
...
}