Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-textlint-rule

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-textlint-rule

Create textlint rule project with no configuration.

  • 1.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-76.67%
Maintainers
3
Weekly downloads
 
Created
Source

create-textlint-rule Build Status

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
# Or
npx create-textlint-rule

Usage

Usage of create-textlint-rule command.

Usage
  $ create-textlint-rule rule-name

Options
  --help  Show help
  --yarn  Use yarn for installing
  --typescript  Create TypeScript project
  --yes   Pass --yes all for initializing process

Examples
  # create textlint-rule-example directory and install
  $ create-textlint-rule example
  # install to current directory
  $ create-textlint-rule .
  # create textlint-rule-example directory is based on TypeScript 
  $ create-textlint-rule example --typescript

Create textlint rule project by following command:

$ create-textlint-rule no-todo
#`textlint-rule-no-todo` project is created in current dir

You can start to develop textlint rule.

For more details, see textlint-scripts.

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.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

Keywords

FAQs

Package last updated on 20 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc