0.3.0 • Published 2 years ago

eslint-plugin-echobind v0.3.0

Weekly downloads
179
License
ISC
Repository
-
Last release
2 years ago

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:

  • React: Use this for React projects with TypeScript
  • NodeJS: Use this for Node projects with TypeScript
  • React Native: Use this for React Native projects with TypeScript