@blackfoot/eslint-config

Eslint configuration for Blackfoot's react projects

Usage no npm install needed!

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

README

eslint-config

This config is the eslint config you should use for all blackfoot react project in typescript.

Installation

    yarn add -D @blackfoot/eslint-config

Then add in your .eslintrc

{
  "extends": "@blackfoot"
}

Added rules

We recommand you to add these rules for a better typescript support.

{
  "extends": [
    "plugin:@typescript-eslint/eslint-recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:@typescript-eslint/recommended-requiring-type-checking"
  ]
}