summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorThomas Grainger <tom@yplanapp.com>2015-11-23 10:46:19 +0000
committerTim Graham <timograham@gmail.com>2015-12-05 15:51:57 -0500
commitd638cdc42acec608c1967f44af6be32a477c239f (patch)
tree44e102c555476dae8f2f339b6fa11bb57f982386 /.eslintrc
parent105028eec64064c11dfd3d5415317ba1fab81214 (diff)
downloaddjango-d638cdc42acec608c1967f44af6be32a477c239f.tar.gz
Fixed #25165 -- Removed inline JavaScript from the admin.
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index ec705d2257..cfe7f53010 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -14,7 +14,7 @@
"no-octal-escape": [2],
"no-underscore-dangle": [2],
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
- "no-script-url": [1],
+ "no-script-url": [2],
"no-shadow": [2, {"hoist": "functions"}],
"quotes": [0, "single"],
"linebreak-style": [2, "unix"],