Skip to content

Latest commit

 

History

History

eslint-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@apicurio/eslint-config

ESLint shareable config for Apicurio projects.

Installation

npm install --save-dev eslint @apicurio/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser

Note: This config assumes you are using TypeScript in your project which is why you must install some @typescript-eslint scoped dependencies.

Usage

Once the @apicurio/eslint-config package is installed, you can specify it in the extends section of your ESlint configuration.

{
	"extends": "@apicurio",
	"rules": {
		// Additional project rules
	}
}