0.3.1 • Published 2 years ago

textlint-rule-no-empty-element v0.3.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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-element

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "textlint-rule-no-empty-element": true
    }
}

Via CLI

textlint --rule textlint-rule-no-empty-element README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

License

ISC ©

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago