@airteam/eslint-config

AirTeam ESLint config

Usage no npm install needed!

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

README

Airteam ESLint Config

Airteam configuration file for ESLint.

Installation

yarn add @airteam/eslint-config

The following packages must also be installed in your project:

yarn add -D eslint prettier eslint-plugin-import eslint-plugin-prettier eslint-config-prettier

To enable React & JSX support the following packages must also be installed in your project:

yarn add react
yarn add -D eslint-plugin-react eslint-plugin-jsx-a11y

Usage

Add a .eslintrc.js file to the root of your project with contents:

module.exports = {
  root: true,
  extends: '@airteam',
};

Then run eslint on your source code, eg: eslint src