File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 19371937 "no-script-url" : {
19381938 "type" : " suggestion" ,
19391939 "docs" : {
1940- "description" : " Disallow `javascript:` urls " ,
1940+ "description" : " Disallow `javascript:` URLs " ,
19411941 "recommended" : false ,
19421942 "url" : " https://eslint.org/docs/latest/rules/no-script-url"
19431943 }
Original file line number Diff line number Diff line change 11/**
2- * @fileoverview Rule to flag when using javascript: urls
2+ * @fileoverview Rule to disallow ` javascript:` URLs
33 * @author Ilya Volodin
44 */
55/* eslint no-script-url: 0 -- Code is checking to report such URLs */
@@ -18,7 +18,7 @@ module.exports = {
1818 type : "suggestion" ,
1919
2020 docs : {
21- description : "Disallow `javascript:` urls " ,
21+ description : "Disallow `javascript:` URLs " ,
2222 recommended : false ,
2323 url : "https://eslint.org/docs/latest/rules/no-script-url"
2424 } ,
@@ -33,7 +33,7 @@ module.exports = {
3333 create ( context ) {
3434
3535 /**
36- * Check whether a node's static value starts with " javascript:" or not.
36+ * Check whether a node's static value starts with ` javascript:` or not.
3737 * And report an error for unexpected script URL.
3838 * @param {ASTNode } node node to check
3939 * @returns {void }
You can’t perform that action at this time.
0 commit comments