Socket
Book a DemoInstallSign in
Socket

@prestashopcorp/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prestashopcorp/eslint-config

Basic Eslint rules for PrestaShop projects

0.1.0-alpha.7
latest
npmnpm
Version published
Weekly downloads
113
-26.14%
Maintainers
0
Weekly downloads
 
Created
Source

Prestashop eslint-config

An eslint sharable config for Prestashop Javascript projects. This condig is the recommended eslint configuration for Javascript projects at PrestaShop This config include eslint-config-standard and prettier/recommended rules.

Install

yarn add @prestashopcorp/eslint-config --dev

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Add this to your .eslintrc file:

{
  "extends": "@prestashopcorp/eslint-config"
}

troubleshooting

Prettier error

TypeError: prettier.resolveConfig is not a function

Try to update prettier to prettier v3

Keywords

eslint

FAQs

Package last updated on 14 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.