An ESLint shareable config used by ShakaCode for JavaScript and React projects. Current stable version 19.0.0 requires ESLint ^7.32.0 || ^8.2.0, eslint-plugin-import ^2.25.4, eslint-plugin-jsx-a11y ^6.5.1, and eslint-plugin-react ^7.28.0. Its version number aligns with eslint-config-airbnb. Differentiators: offers separate base config for non-React projects, follows Airbnb style guide with ShakaCode customizations, and has a history of breaking changes tied to major version bumps of dependencies.
npm install eslint-config-shakacodeVerified import paths — ran on the pinned version, not inferred.
Shows how to configure ESLint to extend Shakacode config in .eslintrc.yml, including peer dep install.
Update to latest config and adjust code for new Airbnb rules.
Update babel-eslint to 6.x.x and ensure compatibility.
Update dependencies and adjust code for new rules.
Ensure these packages are installed as regular dependencies.
Check that eslint-config-airbnb version aligns with this config.
Run eslint --fix and migrate rule configs as needed.
npm install --save-dev eslint-config-shakacode eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
Use 'eslint-config-shakacode/base' for base config, 'eslint-config-shakacode' for React.
Update eslint-plugin-react to match config's peer requirement.