ESLint plugin providing lint rules for Base Web (Uber's React component library). Current stable version is 13.0.0. Release cadence is irregular, tied to Base Web releases. Key differentiator: enforces best practices specific to Base Web, such as correct import paths, proper use of theme and overrides, and deprecation warnings. Requires ESLint 3-8.
npm install eslint-plugin-baseuiVerified import paths — ran on the pinned version, not inferred.
Configure ESLint to use baseui plugin with recommended rules for deprecated theme API, deep imports, and override extend.
Update to ESLint 8 or remove conflicting rules
Use no-relative-imports rule or remove rule from config
Replace with 'baseui/deprecated-theme-api' if needed
Use eslint-define-config or convert to flat config manually
npm install eslint-plugin-baseui --save-dev
Ensure 'baseui' is in plugins and rule is spelled correctly (e.g. 'baseui/deprecated-theme-api')
Use ESLint 8 or check plugin compatibility table