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.

testing
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 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

Use the full package name in ESLint extends. For React projects, this is the default config.

extends: eslint-config-shakacode

Use this for non-React projects. The /base entry point excludes React rules.

extends: eslint-config-shakacode/base

There is no separate 'react' extension. Use the main config for React projects.

extends: eslint-config-shakacode

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 footguns
breakingVersion 5.0.0 breaks: eslint-config-airbnb updated to 9.x.x and eslint-plugin-react to 5.x.x.
breakingVersion 4.0.0 breaks: babel-eslint updated to 6.x.x.
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 }].
breakingVersion 2.0.0 breaks: babel-eslint and eslint-config-airbnb moved from devDependencies to dependencies.
gotchaThe config version number matches eslint-config-airbnb, not ESLint itself.
deprecatedSome rules from earlier versions may be deprecated in newer ESLint.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
9 hits · last 30 days
gptbot
4
ahrefsbot
4
script
1
Resources