Registry / testing / eslint-config-olo

eslint-config-olo

JSON →
library0.2.0jsnpmunverified

Olo's ESLint shared config, based on Airbnb's style guide. Current version 0.2.0, released as a shared config for ES6+ and React projects. It exports three configurations: default (ES6+), React (ES6+ with React), and legacy (ES5-). Requires eslint as a peer dependency, babel-eslint for modern configs, and eslint-plugin-react for React config. Not actively maintained: last release in 2016, and TSLint configs have been deprecated. Suitable for legacy projects but not recommended for new projects.

npm install eslint-config-olo
INSTALL
IMPORT
SIG · ESLINT-CONFIG-OLO
E
eslint-config-olo
testingjavascriptv0.2.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

extends: 'olo'
✓ "extends": "olo"
✗ "extends": "eslint-config-olo"
ESLint automatically resolves 'olo' to eslint-config-olo
extends: 'olo/react'
✓ "extends": "olo/react"
✗ "extends": "olo-react"
Use 'olo/react' not 'olo-react'
extends: 'olo/legacy'
✓ "extends": "olo/legacy"
✗ "extends": "olo/legacy"
No common mistake; just use the correct module path

Configure ESLint to use Olo's default shared config for ES6+ projects, with babel-eslint parser.

// eslintrc.json { "extends": "olo", "parser": "babel-eslint", "rules": { "no-console": "warn" } } // package.json devDependencies: { "eslint": "^3.0.0", "babel-eslint": "^7.0.0", "eslint-config-olo": "^0.2.0" }
Debug
Known issues
deprecatedtslint-config-olo is deprecated and not maintained
fix
Migrate to eslint or typescript-eslint
affects: >=0.1.0
breakingVersion 0.2.0 requires eslint^3.0.0 and may not work with newer ESLint versions
fix
Pin eslint to ^3.0.0 or use a more modern config
affects: >=0.2.0
gotchaRules defined as warnings may transition to errors in future versions; do not ignore them permanently
fix
Address warnings as if they were errors to avoid future breakage
affects: *
Errors
Common errors & fixes
Cannot find module 'eslint-config-olo'
Forgot to install eslint-config-olo as a devDependency or missing npm install
fix
npm install eslint-config-olo --save-dev
ESLint couldn't find the plugin "babel-eslint"
babel-eslint is required but not installed
fix
npm install babel-eslint --save-dev
Error: Failed to load plugin 'react'
Using the 'olo/react' config without installing eslint-plugin-react
fix
npm install eslint-plugin-react --save-dev
Parsing error: Unexpected token
Using ES6 syntax but the parser is not set to babel-eslint
fix
Add "parser": "babel-eslint" to your .eslintrc
Upgrade
Version history
0.2.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency: required for all configs
babel-eslintoptionaloptional peer dependency for ES6+ and React configs
eslint-plugin-reactoptionaloptional peer dependency for React config
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-olo — npm install eslint-config-olo · libregistry