@markuplint/rule-textlint
The rule textlint
for HTML, Vue and so on markup languages.

Install
$ npm install @markuplint/rule-textlint
$ yarn add @markuplint/rule-textlint
Usage
Example
$ yarn add -D textlint-rule-prh
Load .textlintrc.*
config automatically
{
"rules": {
"textlint": true
}
}
{
"rules": {
"prh": {
"rulePaths": ["../prh.yml"]
}
}
}
Use independent textlint config
const path = require('path');
module.exports = {
rules: {
textlint: {
option: {
rules: [
{
ruleId: 'prh',
rule: require('textlint-rule-prh'),
options: {
rulePaths: [path.resolve(__dirname, '../', 'prh.yml')],
},
},
],
},
},
},
};
Contributing
$ git clone git@github.com:markuplint/markuplint.git -b main
$ yarn
$ yarn build
$ yarn test
Copyright © 2021 markuplint. Under the MIT License.