eslint-plugin-file-progress
Advanced tools
Comparing version 2.1.2 to 3.0.0
@@ -10,3 +10,3 @@ import type { Linter, Rule } from 'eslint'; | ||
recommended: Linter.Config; | ||
noCI: Linter.Config; | ||
'recommended-ci': Linter.Config; | ||
}; | ||
@@ -13,0 +13,0 @@ rules: { |
@@ -6,3 +6,3 @@ import progress from './rules/progress.js'; | ||
name: "eslint-plugin-file-progress", | ||
version: "2.1.2" | ||
version: "3.0.0" | ||
}, | ||
@@ -25,4 +25,4 @@ configs: {}, | ||
}, | ||
noCI: { | ||
name: 'progress/no-ci', | ||
'recommended-ci': { | ||
name: 'progress/recommended-ci', | ||
plugins: { | ||
@@ -29,0 +29,0 @@ progress: plugin |
{ | ||
"name": "eslint-plugin-file-progress", | ||
"description": "Eslint plugin to print file progress", | ||
"version": "2.1.2", | ||
"version": "3.0.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "sibiraj-s", |
@@ -59,8 +59,10 @@ # eslint-plugin-file-progress | ||
export default [ | ||
progress.configs.noCI | ||
progress.configs['recommended-ci'] | ||
] | ||
``` | ||
CI is detected by checking if the `CI` environment variable is set to `true`. | ||
This configuration is similar to the recommended one, but it automatically detects CI environments by checking if the `CI` environment variable is set to `true`, and hides the progress message accordingly. | ||
For CI's where CI is not set to `true`, you can use the `settings.progress.hide` option to hide the progress message. | ||
### Demo | ||
@@ -67,0 +69,0 @@ |
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
6896
93