🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

eslint-initializer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-initializer

Create eslint config file in the calling directory

1.2.6
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

eslint

FAQs

Package last updated on 18 Jan 2020

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