Registry / testing / eslint-config-prestashop

eslint-config-prestashop

JSON →
library0.2.1jsnpmunverified

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-prestashop
INSTALL
IMPORT
SIG · ESLINT-CONFIG-PRES
E
eslint-config-prestashop
testingjavascriptv0.2.1
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

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

eslint-config-prestashop
✓ extends: 'prestashop' in .eslintrc
✗ extends: 'eslint-config-prestashop'
ESLint automatically resolves the `eslint-config-` prefix, so just 'prestashop' is needed, not the full name.
default config
✓ module.exports = { extends: 'prestashop' }
✗ const config = require('eslint-config-prestashop');
This is a shareable config, not a JavaScript module to import. Use the `extends` field in ESLint config.

Shows how to configure ESLint to use PrestaShop's config via the extends field, and lists required peer dependencies.

// .eslintrc.json { "extends": "prestashop" } // Then install dependencies: // npm install --save-dev eslint-config-prestashop eslint-config-airbnb-base eslint-plugin-import eslint
Debug
Known issues
gotchaDo not include 'eslint-config-' prefix in the extends value; use just 'prestashop'.
fix
Use extends: 'prestashop' instead of extends: 'eslint-config-prestashop'.
affects: >=0.1.0
breakingRequires eslint-config-airbnb-base ^15.0.0; older versions may be incompatible.
fix
Ensure eslint-config-airbnb-base is version ^15.0.0 or higher.
affects: >=0.2.0
breakingRequires eslint-plugin-import ^2.25.3; older versions may be incompatible.
fix
Ensure eslint-plugin-import is version ^2.25.3 or higher.
affects: >=0.2.0
deprecatedThe config may not be actively updated for latest ESLint versions; check compatibility.
fix
Verify with your ESLint version and consider forking if needed.
affects: >=0.1.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-config-prestashop'
Missing peer dependencies or wrong install
fix
Run: npm install --save-dev eslint-config-prestashop eslint-config-airbnb-base eslint-plugin-import eslint
Configuration for rule "import/no-unresolved" is invalid
Incompatible version of eslint-plugin-import
fix
Update eslint-plugin-import to ^2.25.3
ESLint couldn't find the config "prestashop" after the package was installed.
Typo in extends value or incorrect file path
fix
Ensure extends is exactly 'prestashop' (no extra hyphens or prefix)
Upgrade
Version history
0.2.1latest on npm
Audit
Dependencies
eslint-config-airbnb-baserequiredPeer dependency for base rules
eslint-plugin-importrequiredPeer dependency for import rules
Agent activity
9 hits · last 30 days
node
8
Anthropic
1
Resources
eslint-config-prestashop — npm install eslint-config-prestashop · libregistry