Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-opentable

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-opentable

This package provides OpenTable's .eslintrc as an extensible shared config.

  • 9.0.0-alpha.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-67.57%
Maintainers
4
Weekly downloads
 
Created
Source

OpenTable

eslint-config-opentable Build Status

This package provides OpenTable's .eslintrc as an extensible shared config. We extend eslint-config-airbnb-base.

Usage

The export lints ES6/2015+. It requires eslint and eslint-plugin-import.

  1. npm install --save-dev eslint-config-opentable eslint
  2. add "extends": "opentable" to your .eslintrc

See Airbnb's Javascript styleguide and the ESlint config docs for more information.

Dependencies

Note that ESLint 3.0+, which is a dependency of this config, requires Node 4+. For support in Node <4, use eslint-config-opentable version 4.x.

Differences with AirBnB

There are a few minor differences between this config and AirBnB's. Links are to AirBnB's styleguide.

  • 18.12 Max line length: 100 - Increased to 120

    Why? We just wanted to allow longer lines.

  • 19.2 Comma dangle - No

    Why? We found the extra comma distracting.

  • 22.3 Use PascalCase only when naming constructors or classes. - Yes, but one exception

    Why? We added $.Deferred as a common exception, since it should not be used with the new keyword.

Maintainers

This repo doesn't change too often, so issues or requests may not be noticed quickly. Please contact the maintainers directly to call an issue to their attention.

Keywords

FAQs

Package last updated on 03 Dec 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc