eslint-config-baumeister

Shareable ESLint Config for Baumeister

Usage no npm install needed!

<script type="module">
  import eslintConfigBaumeister from 'https://cdn.skypack.dev/eslint-config-baumeister';
</script>

README

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