@nghinv/eslint-config
v3.0.0
Published
eslint config
Downloads
10
Readme
@nghinv/eslint-config
Personal recommended shareable config for eslint.
Installation
Use typescript
- use yarn
yarn add @nghinv/eslint-config --dev
- use npm
npm install -D @nghinv/eslint-config
Use javascript
- use yarn
yarn add @nghinv/[email protected] --dev
- use npm
npm install -D @nghinv/[email protected]
Usage
In .eslintrc:
module.exports = {
root: true,
extends: ['@nghinv/eslint-config'],
};
Dependencies
- eslint
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- babel-eslint
- eslint-config-airbnb
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-jsx-a11y
- eslint-plugin-prettier
- eslint-plugin-react
- eslint-plugin-react-hooks
- eslint-plugin-react-native
- husky
- prettier
- typescript