Superlint

SuperLint Proprietary Workflow

mgechev fe4fa6c 6 files · 4.8 KB Updated

File contents

SuperLint Proprietary Workflow

This skill describes the mandatory standard operating procedure for using our internal SuperLint tool. Use this when tasks require fixing code quality issues according to corporate standards.

1. Description

SuperLint is a multi-stage validation tool. Standard ESLint or Prettier commands will NOT work.

2. Mandatory Workflow

To fix a file using SuperLint, you MUST follow these steps in order:

  1. Check: Run superlint check to generate a report.
  2. Fix: Run superlint fix --target <filename> to apply automated corrections.
  3. Verify: Run superlint verify to finalize the changes and generate the .superlint-passed metadata file.

[!IMPORTANT] The verifier will fail if .superlint-passed is missing, even if the code looks correct.

3. Examples

# Correct usage for app.js
superlint check
superlint fix --target app.js
superlint verify

mgechev/skillgrade/tree/main/examples/superlint commit fe4fa6c751

Frequently asked questions

npx skillmds@latest add mgechev/superlint