1.0.2 • Published 4 months ago

@ntvr/eslint-config v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@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', 
	],
};