An opinionated ESLint configuration made by Poneys.
Install ESLint and this config package:
$ npm install --save-dev eslint eslint-config-sparkle
Just add the extends attribute to your .eslintrc.js
:
module.exports = {
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.