kud.io/writing

FIXME.js

2019-10-16 · 1 min · tools

Hey!

You want to list your NOTE:, FIXME:, TODO:, WHATEVER:? This node plugin (fixme) could be really useful for you.

Video

How to use it

Installation

$ npm install fixme @babel/core @babel/node --save-dev

Code

./fixme.js

javascript
import fixme from "fixme"

fixme({
  path: "./src/",
  ignored_directories: [],
  file_patterns: ["**/*"],
  file_encoding: "utf8",
  line_length_limit: 3000,
})

./package.json

javascript
{
  "scripts": {
    "fixme": "babel-node fixme"
  }
}

Usage

$ npm run fixme

More information there: https://github.com/JohnPostlethwait/fixme