The rule textlint
for HTML, Vue and so on markup languages.
$ npm install @markuplint/rule-textlint
$ yarn add @markuplint/rule-textlint
$ yarn add -D textlint-rule-prh
markuplint.config.js
const path = reuqire('path');
module.exports = {
rules: {
textlint: {
option: {
rules: [
{
ruleId: 'prh',
rule: require('textlint-rule-prh'),
options: {
rulePaths: [path.resolve(__dirname, '../', 'prh.yml')],
},
},
],
},
},
},
};
$ git clone [email protected]:markuplint/markuplint.git -b master
$ yarn
$ yarn build
$ yarn test
Copyright © 2020 markuplint. Under the MIT License.