cleanup(repo): simplify lint pattern configuration (#20184)
This commit is contained in:
parent
378d9b31e7
commit
6e7141b22c
@ -5,12 +5,6 @@
|
|||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"targets": {
|
"targets": {
|
||||||
"lint": {
|
"lint": {}
|
||||||
"executor": "@nx/eslint:lint",
|
|
||||||
"outputs": ["{options.outputFile}"],
|
|
||||||
"options": {
|
|
||||||
"lintFilePatterns": ["nx-dev/ui-primitives/**/*.{ts,tsx,js,jsx}"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
11
nx.json
11
nx.json
@ -102,16 +102,7 @@
|
|||||||
],
|
],
|
||||||
"executor": "@nx/eslint:lint",
|
"executor": "@nx/eslint:lint",
|
||||||
"options": {
|
"options": {
|
||||||
"lintFilePatterns": [
|
"lintFilePatterns": ["{projectRoot}"]
|
||||||
"{projectRoot}/**/*.{ts,tsx,js,jsx}",
|
|
||||||
"{projectRoot}/**/executors/**/schema.json",
|
|
||||||
"{projectRoot}/**/generators/**/schema.json",
|
|
||||||
"{projectRoot}/generators.json",
|
|
||||||
"{projectRoot}/executors.json",
|
|
||||||
"{projectRoot}/package.json",
|
|
||||||
"{projectRoot}/project.json",
|
|
||||||
"{projectRoot}/migrations.json"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"outputs": ["{options.outputFile}"],
|
"outputs": ["{options.outputFile}"],
|
||||||
"cache": true
|
"cache": true
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -52,13 +52,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {},
|
||||||
"executor": "@nx/eslint:lint",
|
|
||||||
"outputs": ["{options.outputFile}"],
|
|
||||||
"options": {
|
|
||||||
"lintFilePatterns": ["tools/documentation/create-embeddings/**/*.ts"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "@nx/jest:jest",
|
"executor": "@nx/jest:jest",
|
||||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user