{"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,"search_vec":"'0.2.0':18 '2016':68 'activ':63 'airbnb':12 'babel':49 'babel-eslint':48 'base':10 'config':3,9,23,53,61,71,88 'configur':32 'current':16 'default':33 'depend':47 'deprec':74 'es5':41 'es6':25,34,36 'eslint':2,7,43,50,56,86 'eslint-config-olo':1 'eslint-plugin-react':55 'eslintconfig':87 'export':30 'guid':15 'javascript':85 'last':65 'legaci':40,77 'maintain':64 'modern':52 'new':83 'olo':4,5,89 'peer':46 'plugin':57 'project':28,78,84 'react':27,35,38,58,60 'recommend':81 'releas':19,66 'requir':42 'share':8,22 'style':14 'suitabl':75 'three':31 'tslint':70 'version':17","created_at":"2026-04-25T11:18:24.411715+00:00","updated_at":"2026-04-25T11:18:24.411715+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/ololabs/javascript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-config-olo","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}