eslint-config-tleunen-react

Eslint config for React applications

Usage no npm install needed!

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

README

eslint-config-tleunen-react

npm version

Specific eslint configuration for React applications.

Install

To make sure to install the correct versions for each peer dependency, here's a command you can run:

(
  export PKG=eslint-config-tleunen-react;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Usage

Add "extends": "tleunen" in the .eslintrc file (or other specific eslint configuration file)

Special thanks

Special thanks to Airbnb for their configuration