Skip to content
CAI
Software that uses CAICheck a score

airbnb/javascript

62.6

Adequate · 13 November 2026

2.5k

lines of production code

JavaScript

primary language

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a collection of ESLint configuration packages that enforce code quality and style standards for JavaScript, Markdown, and React applications. It provides modular rule sets for general JavaScript, accessibility, and React-specific patterns, allowing developers to apply consistent linting rules across different project types. The system supports modern ESLint versions and offers granular control over which rules are active.

Features

Add JSHint configuration for SublimeLinter

A new SublimeLinter settings file is introduced, configuring JSHint with strict linting rules. This includes enforcing camelCase or UPPER\_CASE variable naming, requiring single quotes for strings, prohibiting ==/!= operators, and enabling checks for undefined variables, unused variables, and line length limits.

linters/SublimeLinter · high confidence

Add default linting configurations for ESLint, JSHint, and Markdown

The linters directory now includes new configuration files that establish baseline linting rules for the project. An ESLint configuration is added that extends the 'airbnb' style guide, while a JSHint configuration is introduced with settings for browser/Node.js environments, ES6 support, and code style enforcement. Additionally, a Markdown linting configuration is added to enforce consistent formatting for Markdown files, covering headers, lists, code blocks, and other structural elements.

linters · high confidence

New ESLint configuration files for React, accessibility, and hooks

The project introduces three new ESLint rule configuration files: react.js, react-a11y.js, and react-hooks.js. The react.js file configures rules for general React development, including JSX formatting, prop validation, and lifecycle methods. The react-a11y.js file adds accessibility-focused rules from the jsx-a11y plugin, ensuring elements are accessible and interactive. The react-hooks.js file enforces the Rules of Hooks and exhaustive dependencies for React hooks. These files collectively provide a comprehensive set of linting rules for React applications, covering standard React patterns, accessibility requirements, and modern hooks usage.

packages/eslint-config-airbnb/rules · high confidence

Behavioural changes

Airbnb ESLint base config v15.0.0: modernizes rules, drops old ESLint versions, and adds exports map

The eslint-config-airbnb-base package has been updated to version 15.0.0, introducing several breaking changes and modernizations. It now requires ESLint v7 or v8, dropping support for older versions. The configuration has been updated to use the \exports\ field in package.json for better module resolution. Key rule changes include enabling \no-unsafe-optional-chaining\, updating the default \ecmaVersion\ to 2018, and adjusting various rules like \function-paren-newline\ and \complexity\. The package also includes a new \whitespace\ entry point that only enforces whitespace-related rules, and a \legacy\ entry point for older JavaScript versions. Documentation and installation instructions have been updated to reflect these changes, including support for Yarn and npx shortcuts.

packages/eslint-config-airbnb-base · high confidence

Restructure eslint-config-airbnb into modular entry points

The package has been restructured to provide distinct configuration entry points. Users can now extend from \eslint-config-airbnb\ for the full set of rules, \eslint-config-airbnb/hooks\ for React Hooks linting, \eslint-config-airbnb/whitespace\ for whitespace-only rules, and \eslint-config-airbnb/base\ for non-React rules. This modularization allows developers to import only the rules they need, simplifying configuration and reducing the scope of linting rules applied to a project.

packages/eslint-config-airbnb · high confidence

Split ESLint base config into category-specific rule files

The \eslint-config-airbnb-base\ configuration has been restructured by splitting the monolithic rules file into separate modules for each category: \best-practices.js\, \errors.js\, \es6.js\, \imports.js\, \node.js\, \strict.js\, \style.js\, and \variables.js\. This change improves maintainability and allows for more granular configuration of ESLint rules by category.

packages/eslint-config-airbnb-base/rules · high confidence

Test coverage

Added automated tests for ESLint configuration entry points and React method ordering

Added new test files in the \packages/eslint-config-airbnb/test\ directory to verify that all ESLint configuration entry points (index, base, legacy, whitespace, hooks) parse without throwing errors. Additionally, new tests validate that the base configuration does not include React-specific rules or plugins, and that the React configuration correctly enforces method ordering via the \react/sort-comp\ rule.

packages/eslint-config-airbnb/test · high confidence

Dependencies

Update ESLint config dependencies to support ESLint 7 and 8

The AirBnb ESLint config packages have been updated to support ESLint versions 7.32.0 and 8.2.0 or higher. This includes updating peer dependencies for \eslint\, \eslint-plugin-import\, \eslint-plugin-jsx-a11y\, \eslint-plugin-react\, and \eslint-plugin-react-hooks\ to their latest compatible versions, ensuring compatibility with modern ESLint releases while maintaining support for older versions where applicable.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 63 (+7.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 69 → 68 (-0.9)
  • Architecture 100 → 100 (+0.0)
  • Maturity 51 → 55 (+3.9)
  • Readiness 42 → 58 (+15.7)
  • Security 87 → 80 (-6.8)
  • Performance 100 → 100 (+0.0)

Resolved (4)

  • No tests found
  • Off-boarding risk: anonymized user #1
  • Scanner failed to run — not a clean result
  • Scanner failed to run — not a clean result

New (1)

  • Off-boarding risk: anonymized user #1

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

airbnb/javascript was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 8ed19247bef145e3cc41b24a02dd1fe6d9b5e681 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-f3449e6eb431.