eslint-initializer
Quickly create an eslint config file in any directory based on your presets
Install
npm i -g eslint-initializer
Usage
Basic usage:
$ eslint-init? Does your project use typescript? Yes? Which framework does your project use? Vue? What environments will your project be running in? browser, es6ESLint config created.
Add rules from a second eslintrc file to the saved template:
$ eslint-init -m
Replace the saved template with a new eslintrc file:
$ eslint-init -r
Options
-v, --version Print program version
-m, --merge Merge rules from an eslintrc into the saved
template
-r, --replace Replace the saved template with a new eslintrc
License
MIT © jmoore914