Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-generate-todo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-generate-todo

Tool for generating eslint todo files

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.8K
decreased by-19.02%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-generate-todo

Tool for generating eslint todo files

Installation

yarn add --dev eslint-generate-todo

Usage

Generate a .eslintrc-todo file using the eslint-generate-todo CLI:

eslint-generate-todo

You may then extend the resulting .eslintrc-todo file in your eslint config:

extends:
  - .eslintrc-todo.yml

CLI

Run eslint-generate-todo through the CLI with this script. Run it with --help to see the options. Files use glob syntax and may be specified multiple times.

eslint-generate-todo [files...]
--format

If you want to specify the file format of the output .eslintrc-todo file, you can run eslint-generate-todo with the --format flag (or -f), followed by either yaml or json. By default eslint-generate-todo outputs to yaml.

eslint-generate-todo --format json
--off

To set rule overrides in the generated .eslintrc-todo file to "off" instead of "warn", you can run eslint-generate-todo with the --off (or -o) flag.

eslint-generate-todo --off
--path

To change the output path of the generated .eslintrc-todo file, you can run eslint-generate-todo with the --path (or p) flag, followed by the project root-relative path.

eslint-generate-todo --path config/eslint-overrides.yml

Developing

Please read the CONTRIBUTING doc before working on eslint-generate-todo.

To build eslint-generate-todo, you can run the build script:

yarn run build

While developing, you can run the dev script to automatically rebuild as files change:

yarn run dev

To lint code changes, you can run the lint script:

yarn run lint

To format code using Prettier, you can run the format script:

yarn run format

To run tests with Jest, you can run the test script:

yarn run test

License

The eslint-generate-todo tool is offered under the Apache v2 license.

Keywords

FAQs

Package last updated on 02 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc