eslint-config-iamnapo
ESLint shareable config for iamnapo’s coding style
Install
npm i eslint-config-iamnapo -D
This config requires
eslint
and (optionally)typescript
to be installed.
Usage
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
.
Monorepo support
Due to this bug, if you are working on a monorepo, add to the top of .eslintrc.js
:
require("eslint-config-iamnapo/patch");