@cloudfour/eslint-config

Cloud Four's shareable ESLint configuration

Usage no npm install needed!

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

README

cloudfour/eslint-config

This is our ESLint configuration.

Installation

$ npm install --save-dev cloudfour/eslint-config

Usage

Add an .eslintrc file to your project and extend this configuration.

The default configuration will work for most Node/CommonJS projects:

extends: '@cloudfour/eslint-config'

The babel configuration can be used for projects using Babel. You will want this specifically if you're using ES modules (import and export).

extends: '@cloudfour/eslint-config/babel'