ESLint Release Tool v3.3.0 is a CLI and API for automating releases in ESLint projects. It generates release versions, updates changelogs, publishes to npm, and creates GitHub releases with proper tags. Key differentiators: tightly coupled to ESLint's commit message conventions (conventional commits), supports both regular and prerelease workflows, and requires minimal configuration via environment variables. Release cadence is irregular focused on ESLint ecosystem needs. Alternative to generic tools like semantic-release but opinionated for ESLint processes.
npm install eslint-releaseVerified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic usage of eslint-release: generateRelease() and publishRelease() with required environment variables.
Upgrade Node.js to >=10.0.0.
Consider using semantic-release for broader use cases; this tool is ESLint-specific.
Always export both tokens before running eslint-generate-release or eslint-publish-release.
Ensure generateRelease() completes successfully and .eslint-release-info.json exists before publishRelease().
Ensure you're in a git repo with commits following conventional commit format.
Install: npm install eslint-release --save-dev
Use const { generateRelease } = require('eslint-release');Set NPM_TOKEN environment variable before running commands.
Initialize git: git init; or cd to a git repository.
No dependency data recorded yet.