mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* optimise lint targets * fix eslint config files * fix app coverage settings * tune eslint to warn about optional chains
71 lines
1.4 KiB
JSON
71 lines
1.4 KiB
JSON
{
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx/tasks-runners/default",
|
|
"options": {
|
|
"cacheableOperations": [
|
|
"build",
|
|
"test",
|
|
"lint"
|
|
],
|
|
"cacheDirectory": "nxcache"
|
|
}
|
|
}
|
|
},
|
|
"defaultBase": "develop",
|
|
"affected": {
|
|
"defaultBase": "develop"
|
|
},
|
|
"namedInputs": {
|
|
"sharedGlobals": [],
|
|
"default": [
|
|
"{projectRoot}/**/*",
|
|
"sharedGlobals"
|
|
],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/**/*.spec.[jt]s",
|
|
"!{projectRoot}/karma.conf.js",
|
|
"!{projectRoot}/.eslintrc.json"
|
|
]
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"production",
|
|
"^production"
|
|
]
|
|
},
|
|
"test": {
|
|
"inputs": [
|
|
"default",
|
|
"^production",
|
|
"{workspaceRoot}/karma.conf.js"
|
|
]
|
|
},
|
|
"lint": {
|
|
"executor": "@angular-eslint/builder:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"{projectRoot}/**/*.ts",
|
|
"{projectRoot}/**/*.html"
|
|
],
|
|
"cache": true,
|
|
"cacheLocation": ".eslintcache",
|
|
"ignorePath": ".eslintignore"
|
|
}
|
|
},
|
|
"e2e": {
|
|
"inputs": [
|
|
"default",
|
|
"^production"
|
|
]
|
|
}
|
|
}
|
|
}
|