Echobind's recommended eslint rules and configs
You'll first need to install ESLint:
$ yarn add eslint
Next, install eslint-plugin-echobind
:
$ yarn add eslint-plugin-echobind
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-echobind
globally.
Eslint configs come bundled with this package. To use one, add it to the extends option in .eslintrc.js
. For example, the following will use the React config:
module.exports = {
extends: ["plugin:echobind/react"],
};
If working on a Node project, use the node config:
module.exports = {
extends: ["plugin:echobind/node"],
};
This plugin provides the following configs: