File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99< script src ="../lib/codemirror.js "> </ script >
1010< script src ="../mode/javascript/javascript.js "> </ script >
1111< script src ="../mode/css/css.js "> </ script >
12- < script src ="https://unpkg.com/jshint@2.9.6 /dist/jshint.js "> </ script >
12+ < script src ="https://unpkg.com/jshint@2.13.2 /dist/jshint.js "> </ script >
1313< script src ="
https://unpkg.com/[email protected] /web/jsonlint.js "
> </ script > 1414< script src ="
https://unpkg.com/[email protected] /dist/csslint.js "
> </ script > 1515< script src ="../addon/lint/lint.js "> </ script >
@@ -150,7 +150,7 @@ <h2>Linter Demo</h2>
150150 lineNumbers : true ,
151151 mode : "javascript" ,
152152 gutters : [ "CodeMirror-lint-markers" ] ,
153- lint : true
153+ lint : { options : { esversion : 2021 } } ,
154154 } ) ;
155155
156156 var editor_json = CodeMirror . fromTextArea ( document . getElementById ( "code-json" ) , {
You can’t perform that action at this time.
0 commit comments