@pagopa/eslint-config
v5.1.1
Published
This package provides PagoPA's `eslint.config.js` as an extensible shared config.
Downloads
29,744
Keywords
Readme
@pagopa/eslint-config
This package provides PagoPA's eslint.config.js as an extensible shared config.
Usage
Install
eslintand@pagopa/eslint-configyarn add -D eslint @pagopa/eslint-configCreate a file names
eslint.config.jsat the root of your workspace with the following content[!TIP]
If your workspace uses CommonJS, name this fileeslint.config.mjsimport pagopa from "@pagopa/eslint-config"; export default [...pagopa];Add
lintandlint:checkscripts in yourpackage.json{ "scripts": { "lint": "eslint --fix src", "lint:check": "eslint src" } }
