Package Exports
- danger-plugin-deprecate
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (danger-plugin-deprecate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.