@double-great/remark-lint-alt-text
Advanced tools
Comparing version 1.0.0-beta.3 to 1.0.0
@@ -39,3 +39,3 @@ import { lintRule } from "unified-lint-rule"; | ||
file.message(suggestion, node); | ||
if (imageIsLink && hasAltText && options["image-is-link"] !== false) { | ||
if (imageIsLink && !hasAltText && options["image-is-link"] !== false) { | ||
file.message(imageLink.check(), node); | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "@double-great/remark-lint-alt-text", | ||
"version": "1.0.0-beta.3", | ||
"version": "1.0.0", | ||
"description": "A remark-lint plugin that finds unhelpful or missing image alt text", | ||
@@ -24,7 +24,7 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.16.8", | ||
"@babel/preset-env": "^7.16.11", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@types/dedent": "^0.7.0", | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^17.0.8", | ||
"@types/node": "^17.0.21", | ||
"@typescript-eslint/eslint-plugin": "^5.15.0", | ||
@@ -34,5 +34,6 @@ "@typescript-eslint/parser": "^5.15.0", | ||
"eslint": "^8.11.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-jest": "^26.1.1", | ||
"husky": "^7.0.0", | ||
"jest": "^27.4.7", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.5.1", | ||
@@ -39,0 +40,0 @@ "pretty-quick": "^3.1.3", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5661
0
17