0.0.19 • Published 4 years ago

@sprocketbot/listodo v0.0.19

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

listodo

listodo is a lightweight and configurable script that lists any TODO comments in your app for better visibility and encouraged resolution.

Usage

Install listodo into your project

npm i -D @sprocketbot/listodo

Add a script to your package.json

{
    "scripts": {
        "todo": "listodo"
    }
}

Run listodo

npm run todo

Husky Integration

To have listodo run before committing (or with any other Git hook), you need to install and configure husky

# Install husky
npm install husky -D

# Configure your project to set up husky
npm set-script prepare "husky install"
npm run prepare

Then, you can add a hook to run listodo

# Run listodo pre-commit
npx husky add .husky/pre-commit "npx listodo"

# Run listodo on another hook
npx husky add .husky/<git-hook> "npx listodo"

Future plans

  • Ignore package.json and package-lock.json by default
  • Testing
  • Open for community contribution (eslint, commitlint)
  • More config options (colors, show email/show name/both)
  • Get theme from OS?
  • Configure showing days old vs datetime of commit
0.0.19

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

1.0.0

4 years ago