@chocolateboy/eslint-config

0.0.1 • Public • Published

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.

Dependencies (6)

Dev Dependencies (2)

Package Sidebar

Install

npm i @chocolateboy/eslint-config

Weekly Downloads

1

Version

0.0.1

License

Artistic-2.0

Unpacked Size

14 kB

Total Files

5

Last publish

Collaborators

  • chocolateboy