Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 605 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 605 Bytes

eslint-config

The shareable eslint configuration of MLL

Installation

yarn add --dev @mll-lab/eslint-config

Configuration

Extend this configuration in your ESLint config:

  "extends": [
    "@mll-lab/eslint-config"
  ],

React

Add required peer dependencies:

yarn add --dev eslint-config-airbnb eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y

Then add an extra entry to your ESLint config. Make sure to place it config before the base config.

  "extends": [
    "@mll-lab/eslint-config/react",
    "@mll-lab/eslint-config"
  ],