echobind / eslint-plugin-echobind

Echobind's recommended eslint settings.
4 stars 0 forks source link
eslint eslint-config react react-native

Test

eslint-plugin-echobind

Echobind's recommended eslint rules and configs

Installation

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.

Usage

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"],
};

Provided Configs

This plugin provides the following configs: