This package has been deprecated

Author message:

This package is moved to https://github.com/kilohealth/eslint-config

@kilohealth/eslint-config

2.0.1 • Public • Published

@kilohealth/eslint-config

Kilo.Health ESLint config for React Native, React and Node.js projects.

Getting started

Install the package

yarn add -D @kilohealth/eslint-config

Install dependencies

yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-import eslint-plugin-jest eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-react-native-a11y eslint-restricted-globals prettier @babel/core @babel/eslint-parser

**note:** you might need to setup babel config if you haven't done that yet.

Add .babelrc.json

{
  "presets": [],
  "plugins": []
}

Usage

Extend your eslint config in your .eslintrc:

Node

"extends": "@kilohealth"

React

"extends": "@kilohealth/eslint-config/react"

React Native

"extends": "@kilohealth/eslint-config/react-native"

See also

For redux-saga rules see: @kilohealth/eslint-config-redux-saga

Package Sidebar

Install

npm i @kilohealth/eslint-config

Weekly Downloads

443

Version

2.0.1

License

MIT

Unpacked Size

17 kB

Total Files

7

Last publish

Collaborators

  • kiloit
  • lukas.skamarakas
  • alarm109
  • lukebars