Skip to content

Commit 82f1882

Browse files
committed
More descriptive options descriptions in angular.json
1 parent 401e3cc commit 82f1882

File tree

1 file changed

+2
-2
lines changed
  • packages/angular/build/src/builders/application

1 file changed

+2
-2
lines changed

packages/angular/build/src/builders/application/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
"additionalProperties": false,
4444
"properties": {
4545
"autoCsp": {
46-
"description": "Enables auto-CSP generation. Will default to true once we are out of experimental/preview phases.",
46+
"description": "Enables automatic generation of a hash-based Strict Content Security Policy (https://web.dev/articles/strict-csp#choose-hash) based on scripts in index.html. Will default to true once we are out of experimental/preview phases.",
4747
"default": false,
4848
"oneOf": [
4949
{
5050
"type": "object",
5151
"properties": {
5252
"unsafeEval": {
5353
"type": "boolean",
54-
"description": "Include the `unsafe-eval` directive in the auto-CSP. Please only enable this if you are absolutely sure that you need to, as allowing calls to eval will weaken the XSS defenses provided by the auto-CSP.",
54+
"description": "Include the `unsafe-eval` directive (https://web.dev/articles/strict-csp#remove-eval) in the auto-CSP. Please only enable this if you are absolutely sure that you need to, as allowing calls to eval will weaken the XSS defenses provided by the auto-CSP.",
5555
"default": false
5656
}
5757
},

0 commit comments

Comments
 (0)