Have jshint discourage 'var'.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4633 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-11-15 03:29:39 +00:00
parent 62ef0bcb42
commit 06ea8d4781
3 changed files with 7 additions and 5 deletions

View File

@ -508,7 +508,8 @@ function load(path) {
'mode': {'js': 'javascript'}[(path || url()).split('.').pop()],
'lint': {
'options': {
'esversion': 2021,
esversion: 2021,
varstmt: true,
},
},
});