eslint-config-sparkle
An opinionated ESLint configuration made by Poneys.
Installation
Install ESLint and this config package:
$ npm install --save-dev eslint eslint-config-sparkle
Usage
Just add the extends attribute to your .eslintrc.js
:
moduleexports = extends: 'sparkle';
The base configuration assumes ECMAScript-6. It is meant to be extended on a per-project basis as necessary using ESLint's shareable configs feature. For more details about how shareable configs work, see the ESLint documentation.
This ruleset enforces neither env
nor globals
settings. They are meant to be set individually on every project.