generator-eslint

A generator for Yeoman

npm install generator-eslint
7 downloads in the last week
11 downloads in the last month

generator-eslint Build Status

The ESLint generator for Yeoman. This generator is intended to aid development within the ESLint project. It is designed to work within the top-level eslint directory.

Installation

First and foremost, you must have Node.js and npm installed. If you don't have Node.js installed, please download and install the latest version.

With Node.js installed, you can run this command:

npm i -g generator-eslint

Usage

The Yeoman generator currently supports the following commands:

eslint:rule

If you want to create a new ESLint rule, make sure you're in the top-level directory of an ESLint repo clone and type:

yo eslint:rule

You'll be prompted for some information and then it will generate the files necessary for a new rule, including the source file, a test file, and a documentation file.

Copyright 2014 Nicholas C. Zakas. All rights reserved.

MIT License

npm loves you