@public-js/eslint-plugin-node
v0.1.6
Published
Tailored ESLint configurations
Downloads
43
Readme
@public-js/eslint-plugin-node
Tailored ESLint configurations
Installing
Add the package to your project by running:
npm i -D @public-js/eslint-plugin-node
Add the following to your ESLint config or modify the existing properties:
module.exports = {
// ...
extends: [
// ...
'plugin:@public-js/eslint-plugin-node/<config>',
],
// ...
};
Configs
imports
- predefined config for thesimple-import-sort
pluginunicornCjsDefault
- predefined config for theunicorn
plugin for CJS packages; new rules left untouchedunicornCjsOff
- predefined config for theunicorn
plugin for CJS packages; new rules turned off by defaultunicornEsmDefault
- predefined config for theunicorn
plugin for ESM packages; new rules left untouchedunicornEsmOff
- predefined config for theunicorn
plugin for ESM packages; new rules turned off by default
Resources
License
MIT, full license text. Read more about it on TLDRLegal.