An ESLint shareable config that bundles Drupal coding standards, Airbnb style, and Prettier formatting into a single package, avoiding peer dependency conflicts. Current stable version is 2.0.7. It is designed for global installation, so you can lint any project without per-project ESLint setup. However, note that as of ESLint 6+, globally installed plugins and configs no longer work due to package loading changes; per-project setup is required for ESLint 6+. This package was primarily used with Drupal 8/9 and Node.js < 12. It is now largely considered outdated; recommended alternative is to use Drupal's official ESLint config or run ESLint per project with yarn/npm.
npm install eslint-config-drupal-bundleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Global install and run ESLint with Drupal config on current directory.
Install ESLint per project and use local node_modules path, or use Drupal's official ESLint config.
Use @drupal/eslint-config or configure ESLint manually with Drupal rules.
Set eslintPath to 'eslint-config-drupal-bundle/node_modules/eslint'.
In workspace settings: { "eslint.nodePath": "/path/to/eslint-config-drupal-bundle/node_modules/eslint" }Consider using @drupal/eslint-config or eslint-config-airbnb separately.
Install the package globally or locally, and ensure .eslintrc extends 'drupal-bundle'.
Either install locally (npm install --save-dev eslint-config-drupal-bundle) or adjust ESLint's resolve path.
Ensure all peer dependencies are available; use npm@5-6 or yarn with 'install-peers' flag.
No dependency data recorded yet.