@double-great/remark-lint-alt-text
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -17,3 +17,3 @@ const rule = require("unified-lint-rule"); | ||
if (!alt && imageIsLink) { | ||
file.message(altTextRules.createWarning("imageLink"), node); | ||
file.message(altTextRules.createSuggestion("imageLink"), node); | ||
} | ||
@@ -36,3 +36,3 @@ if (!textToNodes[alt]) { | ||
if (imageIsLink && hasAltText) { | ||
file.message(altTextRules.createWarning("imageLink"), node); | ||
file.message(altTextRules.createSuggestion("imageLink"), node); | ||
} | ||
@@ -39,0 +39,0 @@ }); |
{ | ||
"name": "@double-great/remark-lint-alt-text", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "A remark-lint plugin that finds unhelpful or missing image alt text", | ||
@@ -15,3 +15,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@double-great/alt-text": "^0.2.0", | ||
"@double-great/alt-text": "^0.3.0", | ||
"unified-lint-rule": "^1.0.4", | ||
@@ -18,0 +18,0 @@ "unist-util-visit-parents": "^3.0.1" |
@@ -1,2 +0,2 @@ | ||
# remark-lint-alt-text [![Build Status](https://travis-ci.com/double-great/remark-lint-alt-text.svg?branch=master)](https://travis-ci.com/double-great/remark-lint-alt-text) | ||
# remark-lint-alt-text ![Build Status](https://github.com/double-great/remark-lint-alt-text/workflows/Test/badge.svg) | ||
@@ -3,0 +3,0 @@ A [remark-lint](https://github.com/remarkjs/remark-lint) plugin that finds unhelpful or missing image alt text. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4115
+ Added@double-great/alt-text@0.3.1(transitive)
+ Addedemoji-regex@9.2.2(transitive)
- Removed@double-great/alt-text@0.2.0(transitive)