Socket
Socket
Sign inDemoInstall

eslint-plugin-file-progress

Package Overview
Dependencies
110
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-file-progress

Eslint plugin to print file progress


Version published
Weekly downloads
72K
decreased by-7.93%
Maintainers
1
Install size
567 kB
Created
Weekly downloads
 

Changelog

Source

v1.4.0 (2024-05-11)

Features
  • support eslint v9 (dd74d77)

Readme

Source

eslint-plugin-file-progress

Version Version Tests

Eslint plugin to print file progress

Getting Started

Installation

npm i -D eslint-plugin-file-progress
# or
yarn add --dev eslint-plugin-file-progress

Usage

# .eslintrc.yml

plugins:
  - file-progress

rules:
  file-progress/activate: 1

settings:
  progress:
    hide: false # hides the progress with spinner. Print's a static `Linting...` text
    successMessage: "Lint done..."

Demo

Who likes a silent console ¯\_(ツ)_/¯

Progress

Only on CLI

Some eslint plugins for code editors may conflict with this plugin rule (or, in that context, a file progress is not relevant)

npx eslint . --plugin file-progress --rule 'file-progress/activate: 1'

Or, in your package.json's command:

{
  "scripts: [
-    "lint": "eslint ."
+    "lint": "eslint . --plugin file-progress --rule \"file-progress/activate: 1\""
  ]
}

Use file-progress/activate: 0 to disable the plugin. See https://eslint.org/docs/latest/user-guide/command-line-interface#specifying-rules-and-plugins for more details on how to use CLI

Keywords

FAQs

Last updated on 11 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc