1.3.6 • Published 2 years 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.jsonfile 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')