chore: configure project wide linting in another way until XO correctly supports monorepos

See: https://github.com/xojs/xo/issues/733
This commit is contained in:
Joakim Carlstein 2023-11-09 09:02:59 +01:00
parent 8d397a0c09
commit cccdfb817d
3 changed files with 9 additions and 11 deletions

View file

@ -10,12 +10,8 @@
"dependsOn": ["^build"],
"inputs": ["src/**/*", "!src/**/*.test.ts", "tsconfig.json", "tsconfig.build.json"],
"outputs": ["dist/**", "cjs/**"],
"cache": false
},
"lint": {
"dependsOn": ["^build"],
"inputs": ["src/**/*", ".eslintrc"],
"outputs": []
"cache": false,
"persistent": true
},
"test": {
"dependsOn": ["^build"],
@ -24,10 +20,11 @@
},
"test:watch": {
"dependsOn": ["^build"],
"cache": false
"cache": false,
"persistent": true
},
"checks": {
"dependsOn": ["build", "lint", "test"],
"dependsOn": ["build", "test"],
"outputs": []
}
}