Skip to content
Machine Learning package for auto generating rules field in eslint configuration file
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data_files
img
mymodel
.gitignore
LICENSE
README.md
classifier.js
command.js
configuration.js
findConfigFile.js
fixdataset.js
package-lock.json
package.json
writeFile.js

README.md

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

You can’t perform that action at this time.