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

eslint-config-olympic

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-olympic

Shared ESLint config based on AirBnB JavaScript style guide.

  • 1.3.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

Olympic ESLint Config

This config is the AirBnB base config with some exceptions. Supports both ES5 and ES6.

Usage

Install using npm:

npm install --save-dev eslint eslint-config-olympic eslint-config-airbnb-base eslint-plugin-import

Extend this config in your .eslintrc:

{
    "extends": "olympic",
}

For linting legacy code (ES5) use the following in your .eslintrc:

{
    "extends": "olympic/legacy",
}

Deviations from AirBnB Style Guide

RuleAirBnB ValueOlympic Value
no-param-reassign2, { props: true }0
indent2, 2, { SwitchCase: 1, VariableDeclarator: 1 }2, 4, { SwitchCase: 1, VariableDeclarator: 1 }
func-names10
no-nested-ternary20
one-var2, 'never'0
one-var-declaration-per-line2, 'always'0
linebreak-style2, 'unix'0

Keywords

FAQs

Package last updated on 25 Jan 2017

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