Nutty Professor Movie

    eslint-plugin-file-progress

    1.3.0 • Public • Published

    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 ./packages/"
    +    "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

    Install

    npm i eslint-plugin-file-progress

    DownloadsWeekly Downloads

    53,783

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    5.05 kB

    Total Files

    5

    Last publish

    Collaborators

    • sibiraj-s