0.1.6 • Published 7 months ago

@public-js/eslint-plugin-node v0.1.6

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

@public-js/eslint-plugin-node

Build Version Downloads Size

CodeQL Codacy Codecov Code Climate

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 the simple-import-sort plugin
  • unicornCjsDefault - predefined config for the unicorn plugin for CJS packages; new rules left untouched
  • unicornCjsOff - predefined config for the unicorn plugin for CJS packages; new rules turned off by default
  • unicornEsmDefault - predefined config for the unicorn plugin for ESM packages; new rules left untouched
  • unicornEsmOff - predefined config for the unicorn plugin for ESM packages; new rules turned off by default

Resources

License

MIT, full license text. Read more about it on TLDRLegal.