1.3.3 • Published 7 years ago

eslint-config-olympic v1.3.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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
1.3.3

7 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago