Netvor's shareable collection of configs for Eslint:
Install custom config:
yarn add --dev @ntvr/eslint-config
Create a config file named .eslintrc.js
:
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.
module.exports = {
extends: [
'@ntvr/eslint-config/javascript',
'@ntvr/eslint-config/react',
'@ntvr/eslint-config/typescript',
'@ntvr/eslint-config/next',
],
};