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:
- Check: Run
superlint checkto generate a report. - Fix: Run
superlint fix --target <filename>to apply automated corrections. - Verify: Run
superlint verifyto finalize the changes and generate the.superlint-passedmetadata file.
[!IMPORTANT] The verifier will fail if
.superlint-passedis missing, even if the code looks correct.
3. Examples
# Correct usage for app.js
superlint check
superlint fix --target app.js
superlint verify