eslint-config-iamnapo
v37.0.0
Published
ESLint shareable config for iamnapo’s coding style
Downloads
703
Maintainers
Readme
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 eslint.config.js
one of the available configs (default
, react
, typescript
, react-typescript
) like so:
import eslintConfigIamnapo from "eslint-config-iamnapo";
const config = [
...eslintConfigIamnapo.configs.default.map(cfg => ({
...cfg,
files: [eslintConfigIamnapo.filePatterns.default],
})),
// your overrides
];
export default config;
[!TIP]
filePatterns
contains some helpful patterns about each case, so you won’t have to figure them out yourself.