eslint-config-cheersjosh

An ESLint configuration.

Usage no npm install needed!

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

README

eslint-config-cheersjosh

Build Status Open Source Love

This is a complete ESLint Shareable Config for your Javascript project. All rules have been included from ESLint. Suitable values have been applied, which were based on configurations from Airbnb and Standard. The configuration is used for every Javascript project I maintain, but please feel free to use it or make adjustments as required. Note: The rules were tested in eslint@3.5.

  1. Install ESLint and the Babel Parser:
$ npm install --save-dev eslint babel-eslint
  1. Install the configuration:
$ npm install --save-dev eslint-config-cheersjosh

Usage

To make use of the shareable configuration, you must use the extend feature of your ESLint configuration. Use the module name instead of the filepath:

{
  "extends": "cheersjosh"
}

Rules Included

  • Possible Errors
  • Best Practices
  • Strict Mode
  • Variables
  • Node.js and CommonJS
  • Stylistic Issues
  • ECMAScript 6

Plugins Included

  • React

Licence

MIT License