From a04f080974289ab66cb6dba79315898cedb081a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Arod?= Date: Tue, 17 Dec 2024 17:38:59 +0100 Subject: [PATCH] chore: add yarn lint script --- eslint.config.mjs | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 7f623a6..4915472 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -9,6 +9,6 @@ export default [ ...tseslint.configs.recommended, prettier, { - ignores: [".yarn/*"], + ignores: [".yarn/*", "dist/*"], }, ]; diff --git a/package.json b/package.json index 5c31fd3..850dd9c 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "scripts": { "publish-stats": "node -r ts-node/register --env-file=.env src/index.ts", "dry-run": "node -r ts-node/register --env-file=.env src/index.ts --dry-run", + "lint": "eslint", "test": "jest" } }