eslint
0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = ["eslint", "npx eslint"]
strip_ansi = true
collapse_empty_lines = true
skip = [
"^\\s*$",
"^Oops!",
]
keep = [
"\\d+:\\d+\\s+(error|warning)",
"^✖ \\d+ problem",
"potentially fixable",
"(?i)parsing error",
]
[on_success]
output = "✓ eslint: ok"
[on_failure]
tail = 40
Examples
failure shows errors and summary
~113 tokens → ~84 tokens
(26% saved)
Raw output
/Users/josef/projects/gw/gw-spa/src/components/Header.tsx 12:5 error 'unused' is defined but never used @typescript-eslint/no-unused-vars 45:10 warning Unexpected any @typescript-eslint/no-explicit-any /Users/josef/projects/gw/gw-spa/src/pages/Dashboard.tsx 3:1 warning Import should be sorted import/order ✖ 3 problems (1 error, 2 warnings) 1 error and 2 warnings potentially fixable with the `--fix` option.
Filtered output
12:5 error 'unused' is defined but never used @typescript-eslint/no-unused-vars 45:10 warning Unexpected any @typescript-eslint/no-explicit-any 3:1 warning Import should be sorted import/order ✖ 3 problems (1 error, 2 warnings) 1 error and 2 warnings potentially fixable with the `--fix` option.
success shows ok message
~0 tokens → ~3 tokens
Raw output
Filtered output
✓ eslint: ok
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters