generator-eslint-starterdeprecated

A Yeoman generator for installing and configuring ESLint

Usage no npm install needed!

<script type="module">
  import generatorEslintStarter from 'https://cdn.skypack.dev/generator-eslint-starter';
</script>

README

generator-eslint-starter CircleCI

A Yeoman generator for installing and configuring ESLint.

This generator allows you to install ESLint and some of the most popular shareable configurations. Also allows you to create your own configuration for ESLint rules.

Installation

Make sure you have Node and npm installed. Then install Yeoman and generator:

npm install -g yo
npm install -g generator-eslint-starter

Create a new directory for your project:

mkdir my-new-project
cd my-new-project

Now you can install and configure ESLint with:

yo eslint-starter

Supported shareable configs

Tests

You can run simple tests with:

npm test

Additionally you can check code with ESLint:

npm run eslint

License

MIT © Paweł Halczuk