eslint-config-aireacter

0.1.0 • Public • Published

eslint-config-aireacter

An eslint-config that makes Airbnb, React, and Prettier get along ok

Intention

I have gotten accustomed to starting out my JavaScript projects using the Airbnb styleguide. More recently I've been using Prettier to curb the obsession I have with meticulously formatting my code. Unfortunately a few rules shared between Airbnb & Prettier conflict. This repository is here to try to mitigate the issues between both eslint & Prettier and get my projects kicked off right. Hopefully you find it useful as well.

Installation

This config declares some peer dependencies that should also be installed:

npm info "eslint-config-aireacter@latest" peerDependencies

Typically these commands will satisfy all peer dependencies:

yarn add eslint-config-aireacter
yarn add eslint prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks

Now you can extend this config in your .eslintrc:

{
  "extends": ["eslint-config-aireacter"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-aireacter

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

2.13 kB

Total Files

4

Last publish

Collaborators

  • meowsus