Skip to content

This package provides Baumeisters ESLint settings as an extensible shared config.

License

Notifications You must be signed in to change notification settings

micromata/eslint-config-baumeister

Repository files navigation

npm version Build Status devDependency Status peerDependencies Status

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.

License

MIT © Michael Kühnel