@textlint/textlint-plugin-text
TypeScript icon, indicating that this package has built-in type declarations

14.3.0 • Public • Published

@textlint/textlint-plugin-text

Plain text plugin for textlint.

Install

Install with npm:

npm install @textlint/textlint-plugin-text

Usage

This plugin is built-in in textlint. No need configuration.


Following config is set by default.

{
    "plugins": {
        "@textlint/text": true
    }
}

Options

  • extensions: string[]
    • Additional file extensions for plain text

For example, if you want to treat .custom-ext as text, put following config to .textlintrc.json

{
    "plugins": {
        "@textlint/text": {
            "extensions": [".custom-ext"]
        }
    }
}

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

Readme

Keywords

none

Package Sidebar

Install

npm i @textlint/textlint-plugin-text

Weekly Downloads

66,017

Version

14.3.0

License

MIT

Unpacked Size

99.1 kB

Total Files

23

Last publish

Collaborators

  • textlint-user
  • azu
  • 0x6b