The eslint-plugin-unicorn offers over 100 powerful ESLint rules. To use it, install the plugin alongside ESLint (version 8.56.0 or above is required). You can either use a preset configuration or customize rules in your eslint.config.js or package.json. The plugin provides configurations for enforcing good practices and for utilizing all available rules except deprecated ones.
Table of contents
InstallUsage ( eslint.config.js )Usage (legacy: .eslintrc.* or package.json )RulesPreset configs ( eslint.config.js )Preset configs ( .eslintrc.* or package.json )MaintainersSort: