{"id":19552,"library":"eslint-config-olo","title":"eslint-config-olo","description":"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.","status":"maintenance","version":"0.2.0","language":"javascript","source_language":"en","source_url":"https://github.com/ololabs/javascript","tags":["javascript","eslint","eslintconfig","config","olo"],"install":[{"cmd":"npm install eslint-config-olo","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-olo","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-olo","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency: required for all configs","package":"eslint","optional":false},{"reason":"optional peer dependency for ES6+ and React configs","package":"babel-eslint","optional":true},{"reason":"optional peer dependency for React config","package":"eslint-plugin-react","optional":true}],"imports":[{"note":"ESLint automatically resolves 'olo' to eslint-config-olo","wrong":"\"extends\": \"eslint-config-olo\"","symbol":"extends: 'olo'","correct":"\"extends\": \"olo\""},{"note":"Use 'olo/react' not 'olo-react'","wrong":"\"extends\": \"olo-react\"","symbol":"extends: 'olo/react'","correct":"\"extends\": \"olo/react\""},{"note":"No common mistake; just use the correct module path","wrong":"\"extends\": \"olo/legacy\"","symbol":"extends: 'olo/legacy'","correct":"\"extends\": \"olo/legacy\""}],"quickstart":{"code":"// eslintrc.json\n{\n  \"extends\": \"olo\",\n  \"parser\": \"babel-eslint\",\n  \"rules\": {\n    \"no-console\": \"warn\"\n  }\n}\n\n// package.json\ndevDependencies: {\n  \"eslint\": \"^3.0.0\",\n  \"babel-eslint\": \"^7.0.0\",\n  \"eslint-config-olo\": \"^0.2.0\"\n}","lang":"json","description":"Configure ESLint to use Olo's default shared config for ES6+ projects, with babel-eslint parser."},"warnings":[{"fix":"Migrate to eslint or typescript-eslint","message":"tslint-config-olo is deprecated and not maintained","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Pin eslint to ^3.0.0 or use a more modern config","message":"Version 0.2.0 requires eslint^3.0.0 and may not work with newer ESLint versions","severity":"breaking","affected_versions":">=0.2.0"},{"fix":"Address warnings as if they were errors to avoid future breakage","message":"Rules defined as warnings may transition to errors in future versions; do not ignore them permanently","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install eslint-config-olo --save-dev","cause":"Forgot to install eslint-config-olo as a devDependency or missing npm install","error":"Cannot find module 'eslint-config-olo'"},{"fix":"npm install babel-eslint --save-dev","cause":"babel-eslint is required but not installed","error":"ESLint couldn't find the plugin \"babel-eslint\""},{"fix":"npm install eslint-plugin-react --save-dev","cause":"Using the 'olo/react' config without installing eslint-plugin-react","error":"Error: Failed to load plugin 'react'"},{"fix":"Add \"parser\": \"babel-eslint\" to your .eslintrc","cause":"Using ES6 syntax but the parser is not set to babel-eslint","error":"Parsing error: Unexpected token"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}