Skip to content

theodo/eslint-plugin-monitolint

Repository files navigation

monitolint

Custom eslint rules to help detect monitoring issues.

Installation

Use npm or a compatibility tool to install.

$ npm install --save-dev eslint eslint-plugin-monitolint

Requirements

  • Node.js v8.10.0 or newer versions.
  • ESLint v5.16.0 or newer versions.

Usage

Write your config file such as .eslintrc.yml.

plugins:
  - monitolint
rules:
  monitolint/no-hollow-catch: error

See also Configuring ESLint.

Configs

  • monitolint/recommended ... enables the recommended rules.

Rules

Semantic Versioning Policy

This plugin follows Semantic Versioning and ESLint's Semantic Versioning Policy.

Development Tools

  • npm test runs tests.
  • npm run update updates the package version. And it updates src/configs/recommended.ts, lib/index.ts, and README.md's rule table. See also npm version CLI command.
  • npm run add-rule <RULE_ID> creates three files to add a new rule.

About

custom eslint rules to help detect monitoring issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published