Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

generator-eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-eslint-config

Yeoman generator to create an ESLint configuration.

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

generator-eslint-config

NPM version Dependency Status Build Status

A Yeoman generator for creating a complete ESLint config.

Installation

First, install Yeoman and generator-esnext-test using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-eslint-config

Then generate your ESLint configuration:

yo eslint-config

What You Get

The following is installed by this generator (test/.eslintrc is only installed when the needsTest option/ prompt is true, and the test directory can be configured with the testDir option/ prompt):

|-- .eslintrc
|-- .eslintignore
|-- test/
  |-- .eslintrc

The generator prompts will take you through setting up your config, including what configuration to extend, what plugins to install, and directories and rules to ignore. The package.json file is created if it does not exist, and the scripts property is augmented with a lint command.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Chris Sauve

Keywords

yeoman

FAQs

Package last updated on 29 Feb 2016

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