eslint-plugin-file-progress
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "eslint-plugin-file-progress", | ||
"description": "Eslint plugin to print file progress", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "sibiraj-s", |
@@ -35,2 +35,3 @@ # eslint-plugin-file-progress | ||
hide: false, // use this to hide the progress message, can be useful in CI | ||
hideFileName: false, // use this to hide the file name, would simply show "Linting..." | ||
successMessage: "Lint done..." | ||
@@ -37,0 +38,0 @@ } |
@@ -15,2 +15,3 @@ import path from 'node:path'; | ||
hide: false, | ||
hideFileName: false, | ||
successMessage: 'Lint done.', | ||
@@ -35,3 +36,7 @@ }; | ||
if (!settings.hide) { | ||
if (settings.hide) { | ||
return {}; | ||
} | ||
if (!settings.hideFileName) { | ||
const filename = context.getFilename(); | ||
@@ -38,0 +43,0 @@ const relativeFilePath = path.relative(context.getCwd(), filename); |
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
7063
104
94