Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 778 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 778 Bytes

@ntvr/eslint-config

Netvor's shareable collection of configs for Eslint:

Installation

Install custom config:

yarn add --dev @ntvr/eslint-config

Create a config file named .eslintrc.js:

Basic Usage

Apply the config in your Eslint config:

module.exports = {
	extends: ['@ntvr/eslint-config/typescript'],
};

To see the rules that this config uses, please read the main config itself.

Optional: Based on the project

module.exports = {
	extends: [
		'@ntvr/eslint-config/javascript', 
		'@ntvr/eslint-config/react', 
		'@ntvr/eslint-config/typescript', 
		'@ntvr/eslint-config/next', 
	],
};