0.2.16 • Published 9 months ago
@nutol/eslint-config v0.2.16
@nutol/eslint-config
Shared ESLint config to enforce a consistent code style for LoopBack development
Installation
npm install --save @nutol/eslint-config
npm install --save-dev \
eslint \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint-config-prettier \
eslint-plugin-eslint-plugin \
eslint-plugin-mocha
Basic Use
Add .eslintrc.json
file to your project, for example:
{
"extends": "@nutol/eslint-config"
}
NOTE:
Due to
the limitation of how ESLint plugins are loaded,
the peerDependencies of this module should be added to devDependencies
of your package.json
.
Contributions
Contributors
See all contributors.
License
MIT