textlint-rule-no-empty-element
v0.3.1
Published
textlint rule that checks if any element in the markdown file is empty. ## Features
Readme
textlint-rule-no-empty-element
textlint rule that checks if any element in the markdown file is empty.
Features
OK :green_heart:
# Header 1
## Header 2
### Header 3
- list item
```npm i textlint-rule-no-empty-element```NG :negative_squared_cross_mark:
Found Empty Header:
#
Found Empty Header:
##
Found Empty Header:
###
Found Empty ListItem:
-
Found Empty Code:
``` ```
#
##
###
-
``` ```Install
Install with npm:
npm install textlint-rule-no-empty-elementUsage
Via .textlintrc(Recommended)
{
"rules": {
"textlint-rule-no-empty-element": true
}
}Via CLI
textlint --rule textlint-rule-no-empty-element 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
ISC ©
