Skip to content

jeffcarbs/eslint-formatter-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-formatter-todo

Generate a configuration file acting as a TODO list for ESLint. Borrows the pattern from Rubocop's auto-gen-config option.

Install

$ yarn install --dev eslint-formatter-todo

Usage

Extend ./.eslintrc_todo.js from your .eslintrc. For example:

-  extends: 'my-eslint-config',
+  extends: ['my-eslint-config', './.eslintrc_todo.js'],

Null out your .eslintrc_todo.js and run eslint with the todo formatter to generate your TODO file:

echo "module.exports = {}" >| .eslintrc_todo.js
eslint --format=todo . --output-file ".eslintrc_todo.js"

About

Generate a configuration file acting as a TODO list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published