Skip to content

iamnapo/eslint-config-iamnapo

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

eslint-config-iamnapo

ESLint shareable config for iamnapo’s coding style

build npm 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");