0.0.1 • Published 3 years ago
@ygkn/textlint-rule-preset-ygkn v0.0.1
@ygkn/textlint-rule-preset-ygkn
@ygkn's textlint preset rule.
Install
Install with npm:
npm install @ygkn/textlint-rule-preset-ygknRules
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.mdBuild
Builds source codes for publish to the lib folder.
You can write ES2015+ source codes in src/ folder.
npm run buildTests
Run test code in test folder.
Test textlint rule by textlint-tester.
npm testLicense
MIT © ygkn