@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/eslint-config@2.4.0 --dev
- use npm
npm install -D @nghinv/eslint-config@2.4.0
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