PrestaShop's official shareable ESLint config based on Airbnb Base style guide. Version 0.2.1 requires eslint-config-airbnb-base ^15.0.0 and eslint-plugin-import ^2.25.3. Config is applied via `extends: 'prestashop'` and supports integration with `npx eslint --init`. Maintained by PrestaShop team for projects following their JavaScript styleguide.
npm install eslint-config-prestashopVerified import paths — ran on the pinned version, not inferred.
Shows how to configure ESLint to use PrestaShop's config via the extends field, and lists required peer dependencies.
Use extends: 'prestashop' instead of extends: 'eslint-config-prestashop'.
Ensure eslint-config-airbnb-base is version ^15.0.0 or higher.
Ensure eslint-plugin-import is version ^2.25.3 or higher.
Verify with your ESLint version and consider forking if needed.
Run: npm install --save-dev eslint-config-prestashop eslint-config-airbnb-base eslint-plugin-import eslint
Update eslint-plugin-import to ^2.25.3
Ensure extends is exactly 'prestashop' (no extra hyphens or prefix)