Skip to content

Latest commit

 

History

History
 
 

rule-textlint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@markuplint/rule-textlint

The rule textlint for HTML, Vue and so on markup languages.

npm version Build Status Coverage Status

Install

$ npm install @markuplint/rule-textlint

$ yarn add @markuplint/rule-textlint

Usage

Example

$ 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')],
						},
					},
				],
			},
		},
	},
};

Contributing

$ git clone [email protected]:markuplint/markuplint.git -b master
$ yarn
$ yarn build
$ yarn test

Copyright © 2020 markuplint. Under the MIT License.