eslint-config-core

raw JSON →
1.2.0 verified Sat Apr 25 auth: no javascript

eslint-config-core is an ESLint shareable configuration based on the Airbnb JavaScript style guide. The current stable version is 1.2.0. It has a slow release cadence and minimal updates. Its key differentiator is that it directly wraps the Airbnb ESLint rules with no additional customization, serving as a minimal alternative to full Airbnb presets.

error Error: Cannot find module 'eslint-config-core'
cause The package is not installed locally or globally.
fix
npm install --save-dev eslint-config-core
gotcha The package does not include peer dependencies like eslint or eslint-plugin-import.
fix Manually install eslint and all required plugins (e.g., eslint-plugin-import, eslint-plugin-react if react rules are used).
npm install eslint-config-core
yarn add eslint-config-core
pnpm add eslint-config-core

Extends the Airbnb-based core ESLint configuration in a project's .eslintrc.json file.

// .eslintrc.json
{
  "extends": "eslint-config-core"
}