eslint-config-alvarium

1.3.1 • Public • Published

Alvarium.io eslint rules

This package contains all the rules used by our javascript projects.

The configurations have been splitted into multiple modules which you can extend.

Installing

As easy as

npm install --save-dev eslint-config-alvarium eslint-plugin-import

And to use it, just create an .eslintrc file extending from the desired config. Using YAML would be something like:

extends: alvarium

Node.js

When extending, specify the Node.js module:

extends: alvarium/node

Or with es6 features (requires babel-eslint package):

extends: alvarium/node-es6

React.js

When extending, specify the React.js module:

extends: alvarium/react

Using the react linter requires some additional packages (added as peer dependencies to this project):

yarn add --dev babel-eslint eslint-config-react-app

License

This project is licensed under a GNU GPL-3.0 license.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-alvarium

Weekly Downloads

2

Version

1.3.1

License

GPL-3.0

Unpacked Size

39.1 kB

Total Files

9

Last publish

Collaborators

  • elboletaire