Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
/ gh-lint Public archive

A CLI utility to lint Github repositories

Notifications You must be signed in to change notification settings

FormulaMonks/gh-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Lint

A CLI utility to lint Github repositories.

Getting started

This project is built with Node.js and Typescript.

Clone the repository

To get started, clone the repository:

git clone
cd github-lint
npm install

Environment variables

Keep in mind that you should set up a Github Personal Access Token to use the CLI. You can do so by setting the GITHUB_API_TOKEN environment variable. If you don’t know how to retrieve that, check out this guide on creating personal access tokens .

You can also set the GITHUB_API_TOKEN environment variable in a .env file in the root of the project. Then, you can run the project with:

npm run dev

You can also build it and test it like a normal CLI:

npm run build
npm link
npx env-cmd -f .env ghlint lint -u <GITHUB_REPO_URL>

About

A CLI utility to lint Github repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published