@blockmatic/eslint-config-base

Blockmatic's ESLint base config

Usage no npm install needed!

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

README

@blockmatic/eslint-config-base

Blockmatic's base ESLint config.

Installation

yarn add --dev @blockmatic/eslint-config-base eslint

Usage

After installing, update your project's .eslintrc file to import the rule sets you want:

{
  "extends" : [
    "@blockmatic/eslint-config-base"
  ]
}

ES5 only

{
  "extends" : [
    "@blockmatic/eslint-config-base/es5"
  ]
}

ES6+ only

{
  "extends" : [
    "@blockmatic/eslint-config-base/es6"
  ]
}

Read the ESlint config docs for more information.