4.0.6 • Published 5 months ago
@pagopa/eslint-config v4.0.6
@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" } }