doc(core): update reduce-repetitive-configuration.md (#22022)

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
This commit is contained in:
Almar Aubel 2024-02-27 21:03:42 +01:00 committed by GitHub
parent 207b4926d1
commit c2070817ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,9 @@ Now the `project.json` files can be reduced to this:
"options": { "options": {
"assets": ["libs/lib1/*.md", "libs/lib1/src/images/*"] "assets": ["libs/lib1/*.md", "libs/lib1/src/images/*"]
} }
} },
"lint": {},
"test": {}
}, },
"tags": [] "tags": []
} }
@ -241,6 +243,8 @@ Now the `project.json` files can be reduced to this:
"sourceRoot": "libs/lib2/src", "sourceRoot": "libs/lib2/src",
"projectType": "library", "projectType": "library",
"targets": { "targets": {
"build": {},
"lint": {},
"test": { "test": {
"options": { "options": {
"testTimeout": 10000 "testTimeout": 10000
@ -261,6 +265,8 @@ Now the `project.json` files can be reduced to this:
"sourceRoot": "libs/lib3/src", "sourceRoot": "libs/lib3/src",
"projectType": "library", "projectType": "library",
"targets": { "targets": {
"build": {},
"lint": {},
"test": {} "test": {}
}, },
"tags": [] "tags": []