
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
generator-eslint
Advanced tools
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.
With Node.js 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:
$ yo eslint:plugin
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 am ESLint plugin 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-2015 Nicholas C. Zakas. All rights reserved.
FAQs
A Yeoman generator for creating ESLint plugins/rules
The npm package generator-eslint receives a total of 506 weekly downloads. As such, generator-eslint popularity was classified as not popular.
We found that generator-eslint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.