New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-prettier-airbnb

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-prettier-airbnb

airbnb-base with overrides to work with prettier

0.5.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 19 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts