A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/eslint/generator-eslint below:

eslint/generator-eslint: A Yeoman generator to help with ESLint development

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.

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.

Requirements

You must also install Yeoman, if you don't have it installed already. To install Yeoman, you can run this command:

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

npm i -g generator-eslint

The Yeoman generator currently supports the following commands:

If you want to create a new ESLint plugin, make sure you're in the top-level directory where you want the plugin to be created and type:

You'll be prompted for information about your plugin and it will generate a package.json file, README, and source code for a stub plugin.

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

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 OpenJS Foundation and other contributors, <www.openjsf.org>

MIT License


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4