eslint-config-anp
Very strict Angular & Nest & Prettier compatible eslint configuration. Comes with import, max-params-no-constructor and prettier plugins.
Table of contents
Getting Started
npm i eslint-config-anp -D
Installation of eslint
, prettier
and other dependencies is not necessary. Package has them included in it's dependencies by design.
Usage
- Create
.prettierrc.js
file in project's root:
module.exports = require(`eslint-config-anp/dist/prettier`);
- Create
.eslintrc.js
file in project's root:
module.exports = {
extends: [`./node_modules/eslint-config-anp`],
};