Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-file-progress

Package Overview
Dependencies
Maintainers
0
Versions
15
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 2.0.1 to 2.1.0

11

index.d.ts

@@ -1,5 +0,3 @@

import type { Rule } from 'eslint';
import type { Linter, Rule } from 'eslint';
export = plugin;
declare const plugin: {

@@ -10,3 +8,5 @@ meta: {

};
configs: {};
configs: {
recommended: Linter.Config
};
rules: {

@@ -16,1 +16,4 @@ activate: Rule.RuleModule;

};
export const recommended: Linter.Config;
export = plugin;

@@ -6,3 +6,3 @@ import progress from './rules/progress.js';

name: "eslint-plugin-file-progress",
version: "2.0.1"
version: "2.1.0"
},

@@ -15,2 +15,30 @@ configs: {},

const configs = {
recommended: {
name: 'recommended',
plugins: {
progress: plugin
},
rules: {
"progress/activate": 2
}
},
noCI: {
name: 'no-ci',
plugins: {
progress: plugin
},
rules: {
"progress/activate": 2
},
settings: {
progress: {
hide: process.env.CI === 'true'
}
}
}
}
Object.assign(plugin.configs, configs)
export default plugin
{
"name": "eslint-plugin-file-progress",
"description": "Eslint plugin to print file progress",
"version": "2.0.1",
"version": "2.1.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": "sibiraj-s",

@@ -34,3 +34,3 @@ # eslint-plugin-file-progress

progress: {
hide: false,
hide: false, // use this to hide the progress message, can be useful in CI
successMessage: "Lint done..."

@@ -42,2 +42,26 @@ }

Or use the recommended config
```js
// eslint.config.js
import progress from 'eslint-plugin-file-progress'
export default [
progress.configs.recommended
]
```
or if you want to hide the progress message in CI
```js
// eslint.config.js
import progress from 'eslint-plugin-file-progress'
export default [
progress.configs.noCI
]
```
CI is detected by checking if the `CI` environment variable is set to `true`.
### Demo

@@ -44,0 +68,0 @@

@@ -52,10 +52,3 @@ import path from 'node:path';

messages: [],
schema: [
{
oneOf: [
{ type: 'string', enum: ['0', '1', 'off'] },
{ type: 'number', enum: [0, 1] }
]
}
]
schema: []
},

@@ -62,0 +55,0 @@ create,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc