@ejhammond/eslint-plugin

5.0.1 • Public • Published

@ejhammond/eslint-plugin

Usage

This package is included in @ejhammond/JSKit but can also be installed on its own.

yarn add @ejhammond/eslint-plugin

Depending on the project, extend react, or node.

// .eslintrc.js

module.exports = {
  extends: [
    'plugin:@ejhammond/react',
    // or
    'plugin:@ejhammond/node',
  ],
};

Rules

Base

ESLint recommended and TypeScript-ESLint recommended Import Prettier Jest (*.spec.{js,jsx,ts,tsx})

React

Base +

React recommended React Hooks JSX A11y

Node

Base +

Allows require Allows console.log

Readme

Keywords

Package Sidebar

Install

npm i @ejhammond/eslint-plugin

Weekly Downloads

0

Version

5.0.1

License

MIT

Unpacked Size

5.57 kB

Total Files

6

Last publish

Collaborators

  • ejhammond