eslint-plugin-no-default-parameters

1.0.3 • Public • Published

🙅‍♀️ Codely's ESLint NO default parameters plugin

Codely Open Source CodelyTV Courses

A plugin that forbids the use of default parameters in functions, methods and constructors. Stars are welcome 😊

👀 How to use

  1. Install the dependency
    npm install --save-dev eslint-plugin-no-default-parameters
  2. Add the plugin to your .eslintrc.js file:
    {
      plugins: ["no-default-parameters"],
    }
  3. Enable the rule
    {
      rules: {
        "no-default-parameters/enforce": ["error"],
      }
    }

👌 Codely Code Quality Standards

Publishing this package we are committing ourselves to the following code quality standards:

  • 🤝 Respect Semantic Versioning: No breaking changes in patch or minor versions
  • 🤏 No surprises in transitive dependencies: Use the bare minimum dependencies needed to meet the purpose
  • 🎯 One specific purpose to meet without having to carry a bunch of unnecessary other utilities
  • Tests as documentation and usage examples
  • 📖 Well documented ReadMe showing how to install and use
  • ⚖️ License favoring Open Source and collaboration

🔀 Related resources

Opinionated skeletons ready for different purposes:

Package Sidebar

Install

npm i eslint-plugin-no-default-parameters

Weekly Downloads

1

Version

1.0.3

License

SEE LICENCE IN LICENCE

Unpacked Size

49.7 kB

Total Files

24

Last publish

Collaborators

  • rgomezcasas
  • javiercane