{"id":40985,"library":"eslint-formatter-bottleneck","title":"ESLint Formatter Bottleneck","description":"An ESLint formatter that reduces noise by only showing violations from a limited set of rules and files, focusing on the most impactful issues. Version 1.0.8 is the latest stable release; the package is rarely updated. It filters ESLint output to display only the most important violations, configured via environment variables. Simpler than other formatters like eslint-summary-chart-formatter or eslint-formatter-stylish.","status":"active","version":"1.0.8","language":"javascript","source_language":"en","source_url":"https://github.com/paladinze/eslint-formatter-bottleneck","tags":["javascript","eslint","eslint-formatter","eslintformatter"],"install":[{"cmd":"npm install eslint-formatter-bottleneck","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-formatter-bottleneck","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-formatter-bottleneck","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"ESLint peer dependency required to use this formatter","package":"eslint","optional":false}],"imports":[{"note":"This package is a CLI formatter, not a JS module. Use via ESLint's --format flag.","wrong":"const formatter = require('eslint-formatter-bottleneck')","symbol":"formatter","correct":"eslint --format bottleneck src"}],"quickstart":{"code":"npm install --save-dev eslint eslint-formatter-bottleneck\necho \"/* eslint-disable no-unused-vars */\\nlet x = 1;\" > test.js\neslint --format bottleneck test.js","lang":"javascript","description":"Install the formatter, create a file with an ESLint error, and run ESLint with bottleneck format."},"warnings":[{"fix":"Ensure eslint-formatter-bottleneck is installed in the same project as ESLint, or use --rulesdir to specify path.","message":"Formatters are loaded from ESLint's node_modules directory; running eslint from a different working directory may fail.","severity":"gotcha","affected_versions":"all"},{"fix":"Use MAX_VIOLATIONS=50 (no decimal point) in your shell or .env file.","message":"Environment variable MAX_VIOLATIONS must be set as a string, not a number; e.g., MAX_VIOLATIONS=50 not MAX_VIOLATIONS=50.0.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.0.8':29 'bottleneck':3 'chart':63 'configur':51 'display':45 'environ':53 'eslint':1,5,42,61,67,71,73 'eslint-formatt':72 'eslint-formatter-stylish':66 'eslint-summary-chart-formatt':60 'eslintformatt':75 'file':21 'filter':41 'focus':22 'formatt':2,6,58,64,68,74 'impact':26 'import':49 'issu':27 'javascript':70 'latest':32 'like':59 'limit':16 'nois':9 'output':43 'packag':36 'rare':38 'reduc':8 'releas':34 'rule':19 'set':17 'show':12 'simpler':55 'stabl':33 'stylish':69 'summari':62 'updat':39 'variabl':54 'version':28 'via':52 'violat':13,50","created_at":"2026-06-04T18:50:13.000193+00:00","updated_at":"2026-06-04T18:50:13.000193+00:00","problems":[{"fix":"Run npm install --save-dev eslint-formatter-bottleneck in the project root.","cause":"The formatter is not installed or not in the ESLint node_modules tree.","error":"Error: Cannot find module 'eslint-formatter-bottleneck'"},{"fix":"Use CLI: eslint --format bottleneck [files]","cause":"Attempting to require() the module as a Node.js object instead of using the --format flag.","error":"TypeError: formatter is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/paladinze/eslint-formatter-bottleneck#readme","github":"https://github.com/paladinze/eslint-formatter-bottleneck","docs":null,"changelog":null,"pypi":null,"npm":"eslint-formatter-bottleneck","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}