@chocolateboy/eslint-config

My shareable ESLint config

Usage no npm install needed!

<script type="module">
  import chocolateboyEslintConfig from 'https://cdn.skypack.dev/@chocolateboy/eslint-config';
</script>

README

eslint-config

Build Status NPM Version

My shareable ESLint config.

INSTALL

$ npm install @chocolateboy/eslint-config

USAGE

Add this to your .eslintrc.js (or equivalent) file:

module.exports = {
    extends: ["@chocolateboy"]
}

DESCRIPTION

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

DEVELOPMENT

NPM Scripts

The following NPM scripts are available:

  • test - validate the ESLint rules

SEE ALSO

  • 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

VERSION

0.0.1

AUTHOR

chocolateboy

COPYRIGHT AND LICENSE

Copyright © 2018 by chocolateboy.

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.