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.
$ 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
Add some ESLint config to your package.json
:
{
"name": "my-awesome-project",
"eslintConfig": {
"extends": "baumeister"
}
}
Or to .eslintrc
:
{
"extends": "baumeister"
}
- Baumeister - The frontend build workflow for your needs.
- cli-error-notifier - Sends native desktop notifications when npm scripts fail.
MIT © Michael Kühnel