@hackney/eslint-config

1.4.1 • Public • Published

@hackney/eslint-config

Eslint config for TS and React projects.

Installation

npm install @hackney/eslint-config -D
yarn add @hackney/eslint-config -D

Add the library dependencies

yarn add @typescript-eslint/eslint-plugin eslint eslinit-config-airbnb eslint-config-airbnb-typescript eslint-config-prettier eslint-config-react eslint-plugin-import eslint-plugin-jest eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-testing-library prettier -D

Usage

For React based projects configure a .eslintrc file:

{
  "extends": "@hackney/eslint-config"
}

For non React based TS projects:

{
  "extends": "@hackney/eslint-config/base"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @hackney/eslint-config

Weekly Downloads

2

Version

1.4.1

License

MIT

Unpacked Size

7.49 kB

Total Files

6

Last publish

Collaborators

  • humulla
  • lbhcallumm
  • mpederiva
  • makeyw
  • selwyn.preston
  • lbhtkarki