README
@simple-node-config/eslint
A simple eslint configuration using AirBnb style guides and Prettier setup
Install
npm i -D @simple-node-config/eslint
or
yarn add -D @simple-node-config/eslint
Usage
Eslint
- Create .eslintrc file at your project root level.
- Add the below code to .eslintrc
{"extends": "@simple-node-config/eslint/eslintrc"}
Prettier
- Create .prettierrc.js at your project root level.
- Add the below code to .prettierrc.js
module.exports = { ...require('./configs/prettierrc'), };