Skip to content

matt-fidd/eslint-config

Repository files navigation

eslint-config

npm (scoped)

ESLint shareable config for my projects.

Installation

$ npm install -D eslint @matt-fidd/eslint-config

Usage

Once the @matt-fidd/eslint-config package is installed, you can use it by adding @matt-fidd to the extends section of your ESLint configuration.

{
	...
	"extends": "@matt-fidd",
	...
}

Using this config in conjunction with eslint:recommended

To work properly, this rule set is designed to be used alongside the eslint:recommended rule set. To do this, simply define them both inside the extends section of your ESLint configuration.

{
	...
	"extends": [
		"eslint:recommended",
		"@matt-fidd"
	],
	...
}