chore: add yarn lint script

wip-related-pages
Sébastien Arod 2024-12-17 17:38:59 +01:00
parent 5c4e3d690c
commit a04f080974
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,6 @@ export default [
...tseslint.configs.recommended, ...tseslint.configs.recommended,
prettier, prettier,
{ {
ignores: [".yarn/*"], ignores: [".yarn/*", "dist/*"],
}, },
]; ];

View File

@ -27,6 +27,7 @@
"scripts": { "scripts": {
"publish-stats": "node -r ts-node/register --env-file=.env src/index.ts", "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", "dry-run": "node -r ts-node/register --env-file=.env src/index.ts --dry-run",
"lint": "eslint",
"test": "jest" "test": "jest"
} }
} }