danger-plugin-deprecate

Build Status npm version semantic-release

allows to warn or prevent merge on unwanted changes

Usage

Install:

npm install -D danger-plugin-deprecate

At a glance:

// dangerfile.js
import deprecate from "danger-plugin-deprecate";

const config = [
  {
    name: "console_log_warn",
    rule: "(console.)(log|warn)",
    ruleDescription: "Regex to find console.log or console.warn calls",
    level: "INFO"
  },
  {
    name: "TODO",
    rule: "(TODO)",
    ruleDescription: "Regex to find TODO comments",
    level: "WARN"
  }
];

deprecate({ config });

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.