@ygkn/textlint-rule-preset-ygkn

0.0.1 • Public • Published

@ygkn/textlint-rule-preset-ygkn

@ygkn's textlint preset rule.

Install

Install with npm:

npm install @ygkn/textlint-rule-preset-ygkn

Rules

This preset based on some presets and rules as follows.

See src/rules.ts for more details.

Presets

Rules

Usage

rc file (Recommended)

JavaScript (with type checking)

/** @type {import("@textlint/config-loader").TextlintRcConfig}*/
module.exports = {
  rules: {
    "@ygkn/preset-ygkn": true,
  },
};

JSON

{
  "rules": {
    "@ygkn/preset-ygkn": true
  }
}

Via CLI

textlint --rule @ygkn/preset-ygkn README.md

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

License

MIT © ygkn

Readme

Keywords

Package Sidebar

Install

npm i @ygkn/textlint-rule-preset-ygkn

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

12.8 kB

Total Files

8

Last publish

Collaborators

  • ygkn