create-textlint-rule
Create textlint rule with no configuration.
This command line tools generate textlint rule project files by one command.
Install
Install with npm:
npm install create-textlint-rule -g
Usage
Create textlint rule project by following command:
$ create-textlint-rule no-todo
You can start to develop textlint rule.
(See textlint-scripts for more details.)
Build
Builds source codes for publish to the lib
folder.
You can write ES2015+ source codes in src/
folder.
npm run build
Tests
Run test code in test
folder.
Test textlint rule by textlint-tester.
npm test
Publish
Publish your rule to npm.
# Update version and git tag `patch` or `minor` or `major`
npm version {patch|minor|major}
npm publish
Next
You can learn to create textlint rule.
Reference
This Command line tools based on these project.
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test
:
npm i -d && npm test
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu