Rule Generator
This script will generate three files with basic boilerplate for the given rule:
src/rules/${rule-name}.js
_tests_/src/rules/${rule-name}-test.js
docs/rules/${rule-name}.md
If the rule already exists or is not specified in the correct format, an error will be thrown.
If we wanted to scaffold a rule for no-marquee
, we could run:
Last updated