eslint-config-iamnapo
v43.0.0
Published
ESLint shareable config for iamnapo’s coding style
Maintainers
Readme
eslint-config-iamnapo
ESLint shareable config for iamnapo’s coding style
Install
npm i eslint-config-iamnapo -DThis config requires
eslintand (optionally)typescriptto be installed.
Usage
Add to your eslint.config.js one of the available configs (default, react, typescript, react-typescript) like so:
import { defineConfig } from "eslint/config";
import eslintConfigIamnapo from "eslint-config-iamnapo";
const config = defineConfig([
{
files: [eslintConfigIamnapo.filePatterns.default],
extends: [eslintConfigIamnapo.configs.default],
},
// your overrides
]);
export default config;[!TIP]
filePatternscontains some helpful patterns about each case, so you won’t have to figure them out yourself.
