$ npm install @chocolateboy/eslint-config
Add this to your .eslintrc.js
(or equivalent) file:
module.exports = {
extends: ["@chocolateboy"]
}
This is mostly compatible with the StandardJS rules. The main differences are:
- 4 spaces (rather than 2)
- dangling commas are allowed in multi-line lists
- multiple spaces are allowed in requires/imports and object literals
- eslint - An AST-based pattern checker for JavaScript
- eslint-standard - An ESLint shareable config for JavaScript Standard Style
- standard - JavaScript Style Guide, with linter & automatic code fixer
0.0.1
Copyright © 2018-2020 by chocolateboy.
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.