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

textlint

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

textlint

plugable text lint tool(support markdown).

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
56K
increased by4.78%
Maintainers
1
Weekly downloads
 
Created
Source

textlint Build Status

The pluggable linting tool for text(plain text and markdown).

Installation

npm install textlint

Usage

lint result

  • more more document!
$ textlint README.md

CLI

See help.

$ textlint -h
textlint [options] file.md [file.txt] [dir]

Options:
  -h, --help                 Show help.
  --rulesdir [path::String]  Set rules from this directory and set all default rules to off.
  -f, --format String        Use a specific output format. - default: stylish
  -v, --version              Outputs the version number.
  --ext [String]             Specify text file extensions.
  --no-color                 Enable color in piped output.
  -o, --output-file path::String  Enable report to be written to a file.
  --quiet                    Report errors only. - default: false
  --stdin                    Lint code provided on <STDIN>. - default: false

Build-in formatters

See formatters.

e.g.) use pretty-error.js

$ textlint -f pretty-error file.md

How to create rules?

Please see docs/

Contributing

  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

License

MIT

and

lib/load-rules.js, util/traverse.js, cli.js and formatters are:

ESLint
Copyright (c) 2013 Nicholas C. Zakas. All rights reserved.

SCG: TextLint is similar project.

SCG: TextLint's place is equal to my textlint(Fortuitously, project name is equal too!).

concept

via Natural Language Checking with Program Checking Tools

Acknowledgements

Thanks for ESLint.

Keywords

FAQs

Package last updated on 29 Dec 2014

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