danger-plugin-deprecate
TypeScript icon, indicating that this package has built-in type declarations

0.2.0-development • Public • Published

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.

Package Sidebar

Install

npm i danger-plugin-deprecate

Weekly Downloads

2

Version

0.2.0-development

License

MIT

Unpacked Size

12.6 kB

Total Files

9

Last publish

Collaborators

  • yamensharaf