Skip to content

Commit

Permalink
More descriptive options descriptions in angular.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshim committed Oct 21, 2024
1 parent 401e3cc commit 82f1882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/angular/build/src/builders/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
"additionalProperties": false,
"properties": {
"autoCsp": {
"description": "Enables auto-CSP generation. Will default to true once we are out of experimental/preview phases.",
"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.",
"default": false,
"oneOf": [
{
"type": "object",
"properties": {
"unsafeEval": {
"type": "boolean",
"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.",
"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.",
"default": false
}
},
Expand Down

0 comments on commit 82f1882

Please sign in to comment.