@airteam/eslint-config
v0.1.6
Published
AirTeam ESLint config
Downloads
417
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