@ntvr/eslint-config
v1.0.2
Published
Netvor's shareable config for eslint
Downloads
33
Readme
@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',
],
};