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