@prestashopcorp/eslint-config
v0.1.0-alpha.7
Published
Basic Eslint rules for PrestaShop projects
Downloads
382
Readme
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