Repolinter is a linter for open source repositories, checking for common issues like missing license, README, contributing guide, code of conduct, and changelog files. Version 0.12.0 is the latest stable release (May 2025) with TypeScript type definitions. It supports local and remote repository linting, customizable rulesets (JSON/YAML), and multiple output formats (default, JSON, Markdown). Compared to alternatives like `licensee` or `repo-scope`, Repolinter offers broader checks and integration with git repositories. Release cadence is irregular; last major change was v0.11.0 adding ruleset inheritance.
npm install repolinterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic usage of runLint to lint a local repo and output JSON.
Use '--remote' instead of '--git'.
Update ruleset files to version 2 format (refer to schema).
Parse the markdown output accordingly; use --format json for structured data.
Run 'npm install -g repolinter' or add to devDependencies.
Use function require('repolinter') or set 'type': 'module' in package.json.Add '"version": 2' to your repolinter.json.