@kingspanisoeste/eslint-config
v1.3.6
Published
ESLint configuration used by Kingspan Isoeste.
Downloads
129
Readme
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')