eslint-config-baumeister
v1.2.0
Published
Shareable ESLint Config for Baumeister
Downloads
11
Readme
eslint-config-baumeister
This package provides Baumeisters ESLint settings as an extensible shared config.
The settings are based on eslint-config-xo, eslint-plugin-unicorn, eslint-plugin-security, eslint-plugin-import, eslint-plugin-filenames with a few adaptions.
Install
$ npm install eslint-config-baumeister --save-dev
$ npx install-peerdeps eslint-config-baumeister --only=dev --only-peers
Note:
Installation needs npm >= 5.2.0
to install the needed peer dependencies via npx install-peerdeps […]
. If your are using an older npm version you need to install the peer dependencies with:
$ npm install eslint eslint-config-xo eslint-plugin-filenames eslint-plugin-import eslint-plugin-security eslint-plugin-unicorn --save-dev
Usage
Add some ESLint config to your package.json
:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "baumeister"
}
}
Or to .eslintrc
:
{
"extends": "baumeister"
}
Related
- Baumeister - The frontend build workflow for your needs.
- cli-error-notifier - Sends native desktop notifications when npm scripts fail.
License
MIT © Michael Kühnel