Skip to content

pansakk/eslint-generator

Repository files navigation

eslint-generator

Machine Learning cli engine for auto generating rules field in the eslint configuration file

Contents

  1. Procedure
  2. Install
  3. Usage
  4. Example

Preriquisites

You have to install Python 2.x because it is required for installation of library @tensorflow/tfjs-node. Chech python --version and make sure to add Python to $PATH.

If there are still problems when installing run from an Administrative script:

$ npm --add-python-to-path='true' --debug install --global windows-build-tools

For more details check the tfjs-node/WINDOWS_TROUBLESHOOTING.md

Install

You have to install globally. For installation run npm install -g eslint-generator

Usage

Open a bash in your project's folder and type eslint-generator generate.

It will automatically complete your eslintrc file rules field. If you don't have already a file it will produce one with the default field values.

Example

About

Machine Learning package for auto generating rules field in eslint configuration file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors