This repository provides a shared ESLint configuration for various Shopware-related projects, ensuring a consistent code style and quality across Shopware's JavaScript codebases.
- Shared, standardized ESLint rules for Shopware projects
- Easy integration into new and existing JavaScript projects
- Promotes consistent code quality and style aligned with Shopware conventions
Install the package via npm:
npm install --save-dev @shopware-ag/eslint-config-base
After installing, extend the configuration in your project's ESLint config file (e.g., .eslintrc.js, .eslintrc.json, or eslint.config.js):
.eslintrc.js:
module.exports = {
extends: ['@shopware-ag/eslint-config-base']
};
Refer to ESLint documentation for details on configuration file formats and advanced setup.