Update as per feedback from maintainer

This commit is contained in:
Duncan Mackenzie 2018-01-01 13:16:39 -08:00
parent 7e3e671eeb
commit d3b0e1eea2
5 changed files with 16 additions and 10 deletions

View file

@ -92,6 +92,7 @@ See [Rules.md](doc/Rules.md) for more details.
## Tags
* **accessibility** - MD045
* **atx** - MD018, MD019
* **atx_closed** - MD020, MD021
* **blank_lines** - MD012, MD022, MD031, MD032
@ -104,6 +105,7 @@ See [Rules.md](doc/Rules.md) for more details.
MD024, MD025, MD026, MD036, MD041, MD043
* **hr** - MD035
* **html** - MD033
* **images** - MD045
* **indentation** - MD005, MD006, MD007, MD027
* **language** - MD040
* **line_length** - MD013
@ -114,8 +116,6 @@ See [Rules.md](doc/Rules.md) for more details.
* **ul** - MD004, MD005, MD006, MD007, MD030, MD032
* **url** - MD034
* **whitespace** - MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039
* **accessibility** - MD045
* **images** - MD045
## Configuration

View file

@ -1241,7 +1241,7 @@ Set the `code_blocks` parameter to `false` to disable this rule for code blocks.
## MD045 - Images should have ALT Text attribute
Tags: images, accessibility
Tags: accessibility, images
Aliases: no-alt-text

View file

@ -955,14 +955,14 @@
"additionalProperties": false
},
"MD045": {
"description": "MD045/no-alt-text - Images should have non-empty Alt Text",
"description": "MD045/no-alt-text - Images should have ALT Text attribute",
"type": "boolean",
"default": true
},
"no-alt-text": {
"description": "MD045/no-alt-text - Images should have non-empty Alt Text",
"description": "MD045/no-alt-text - Images should have ALT Text attribute",
"type": "boolean",
"default": true
"default": true
},
"headers": {
"description": "headers - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
@ -1068,6 +1068,16 @@
"description": "spelling - MD044",
"type": "boolean",
"default": true
},
"images": {
"description": "images - MD045",
"type": "boolean",
"default": true
},
"accessibility": {
"description": "accessibility - MD045",
"type": "boolean",
"default": true
}
},
"additionalProperties": false

View file

@ -1,4 +0,0 @@
{
"default": true,
"MD045": true
}