🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-file-progress

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-file-progress - npm Package Compare versions

Comparing version

to
3.0.0

2

index.d.ts

@@ -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 @@