eslint-config-iamnapo 33.0.0
Install from the command line:
Learn more about npm packages
$ npm install @iamnapo/eslint-config-iamnapo@33.0.0
Install via package.json:
"@iamnapo/eslint-config-iamnapo": "33.0.0"
About this version
ESLint shareable config for iamnapo’s coding style
npm i eslint-config-iamnapo -D
This config requires
eslint
and (optionally)typescript
to be installed.
Add to your .eslintrc.js
one of the available configs* like so:
module.exports = {
extends: "iamnapo",
rules: {
// your overrides
},
};
*: iamnapo
, iamnapo/react
, iamnapo/typescript
, iamnapo/react-typescript
.
Due to this bug, if you are working on a monorepo, add to the top of .eslintrc.js
:
require("eslint-config-iamnapo/patch");