chore: add yarn lint script
parent
5c4e3d690c
commit
a04f080974
|
@ -9,6 +9,6 @@ export default [
|
||||||
...tseslint.configs.recommended,
|
...tseslint.configs.recommended,
|
||||||
prettier,
|
prettier,
|
||||||
{
|
{
|
||||||
ignores: [".yarn/*"],
|
ignores: [".yarn/*", "dist/*"],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue