5.0.1 • Published 2 years ago

@ejhammond/eslint-plugin v5.0.1

Weekly downloads
10
License
MIT
Repository
github
Last release
2 years ago

@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

5.0.1

2 years ago

4.0.1

3 years ago

4.0.2

3 years ago

4.0.0

3 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.1

4 years ago

2.0.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago