1.2.6 • Published 4 years ago

eslint-initializer v1.2.6

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

eslint-initializer

npm GitHub repo size

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, es6
ESLint config created.
{
  "typescript": true,
  "framework": "vue",
  "env": [
    "browser",
    "es6"
  ]
}

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

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago