eslint-config-baumeister

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-baumeister

Weekly Downloads

16

Version

1.2.0

License

MIT

Unpacked Size

9.1 kB

Total Files

5

Last publish

Collaborators

  • mischah
  • revrng