eslint-config-anp
v1.0.38
Published
<p align="center"> <h1>eslint-config-anp</h1> <div>Very strict Angular & Nest & Prettier compatible eslint configuration. Comes with import, max-params-no-constructor and prettier plugins.</div> </p>
Downloads
62
Readme
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`],
};