Registry / testing / eslint-config-shakacode

eslint-config-shakacode

JSON →
library19.0.0jsnpmunverified

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-shakacode
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SHAK
E
eslint-config-shakacode
testingjavascriptv19.0.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eslint-config-shakacode
✓ extends: eslint-config-shakacode
✗ extends: shakacode
Use the full package name in ESLint extends. For React projects, this is the default config.
eslint-config-shakacode/base
✓ extends: eslint-config-shakacode/base
✗ extends: eslint-config-shakacode/non-react
Use this for non-React projects. The /base entry point excludes React rules.
eslint-config-shakacode/react
✓ extends: eslint-config-shakacode
✗ extends: eslint-config-shakacode/react
There is no separate 'react' extension. Use the main config for React projects.

Shows how to configure ESLint to extend Shakacode config in .eslintrc.yml, including peer dep install.

// .eslintrc.yml --- extends: eslint-config-shakacode // For non-React projects: // extends: eslint-config-shakacode/base // Install peer dependencies: // npm install --save-dev eslint eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
Debug
Known issues
breakingVersion 5.0.0 breaks: eslint-config-airbnb updated to 9.x.x and eslint-plugin-react to 5.x.x.
fix
Update to latest config and adjust code for new Airbnb rules.
affects: 5.0.0
breakingVersion 4.0.0 breaks: babel-eslint updated to 6.x.x.
fix
Update babel-eslint to 6.x.x and ensure compatibility.
affects: 4.0.0
breakingVersion 3.0.0 breaks: eslint-config-airbnb updated to 6.x.x and babel-eslint to 5.x.x. New rules: no-return-assign: [2, 'always'] and no-param-reassign: [2, { 'props': false }].
fix
Update dependencies and adjust code for new rules.
affects: 3.0.0
breakingVersion 2.0.0 breaks: babel-eslint and eslint-config-airbnb moved from devDependencies to dependencies.
fix
Ensure these packages are installed as regular dependencies.
affects: 2.0.0
gotchaThe config version number matches eslint-config-airbnb, not ESLint itself.
fix
Check that eslint-config-airbnb version aligns with this config.
affects: all
deprecatedSome rules from earlier versions may be deprecated in newer ESLint.
fix
Run eslint --fix and migrate rule configs as needed.
affects: >=19.0.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-shakacode'
Package not installed or missing peer dependencies.
fix
npm install --save-dev eslint-config-shakacode eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
ESLint couldn't find the config 'eslint-config-shakacode/base'
Typo or wrong extension name.
fix
Use 'eslint-config-shakacode/base' for base config, 'eslint-config-shakacode' for React.
Configuration for rule 'react/jsx-indent' is invalid
Outdated rule config incompatible with installed eslint-plugin-react version.
fix
Update eslint-plugin-react to match config's peer requirement.
Upgrade
Version history
19.0.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency - core linting engine
eslint-plugin-importrequiredpeer dependency - import rules
eslint-plugin-jsx-a11yrequiredpeer dependency - accessibility rules
eslint-plugin-reactoptionalpeer dependency - React rules
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-shakacode — npm install eslint-config-shakacode · libregistry