Skip to content

eslint configuration that uses air-bnb-base and extends it to not conflict with prettier.

License

Notifications You must be signed in to change notification settings

all-i-code/eslint-config-prettier-airbnb

Repository files navigation

eslint-config-prettier-airbnb

eslint configuration that uses eslint-config-airbnb-base and extends it to not conflict with prettier.

Installation

If you use yarn, run

npm info "eslint-config-prettier-airbnb@latest" peerDependencies

to list the peer dependencies and versions, then run

yarn add --dev <dependency>@<version>

for each listed peer dependency.

Usage

To use the eslint config:

.eslintrc.js

module.exports = {
  extends: ['prettier-airbnb']
}

To use the prettier config:

.prettierrc.js

const options = require('eslint-config-prettier-airbnb/prettier')
module.exports = options

About

eslint configuration that uses air-bnb-base and extends it to not conflict with prettier.

Resources

License

Stars

Watchers

Forks

Packages

No packages published