1.3.6 • Published 21 days ago
@kingspanisoeste/eslint-config v1.3.6
Kingspan Isoeste ESLint config
Whats included?
- Standard config base;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @kingspanisoeste/eslint-config
- Create a
.eslintrc.json
file extending the config:React project
{
"extends": "@kingspanisoeste/eslint-config/react"
}
Node project
{ "extends": "@kingspanisoeste/eslint-config/node" }
- Create a '.prettierrc.js' file and exports the prettier config:
module.exports = require('@kingspanisoeste/eslint-config/prettier')