danger-plugin-deprecate
v0.2.0-development
Published
allows to warn or prevent merge on unwanted changes
Downloads
181
Maintainers
Readme
danger-plugin-deprecate
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.