2.0.7 • Published 5 months ago

eslint-plugin-safeguard v2.0.7

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

ESLint Plugin Safeguard

A custom ESLint plugin that provides multiple rules to enforce best practices and code safety.

🚀 Features

  • Ensures await expressions are inside try-catch blocks.
  • Helps enforce best practices for asynchronous error handling.
  • Expandable with additional safety rules in the future.

📦 Installation

Install the plugin using pnpm, npm, or yarn:

pnpm add -D eslint-plugin-safeguard
# or
npm install --save-dev eslint-plugin-safeguard
# or
yarn add -D eslint-plugin-safeguard

🛠 Available Rules

🔹 trycatch-ensurer

🔹 no-raw-error

🔹 consistent-import-name

📝 Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue at GitHub Issues.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Author: Estarlin R (estarlincito.com)

2.0.7

5 months ago

2.0.5

5 months ago

2.0.6

5 months ago

2.0.3

5 months ago

2.0.2

5 months ago

2.0.0

5 months ago

1.0.0

5 months ago