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:
Cory McWilliams 2023-11-15 03:29:39 +00:00
parent 62ef0bcb42
commit 06ea8d4781
3 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "📜" "emoji": "📜",
"previous": "&miGORZ8BwjHg2YO0t4bms6SI28XWPYqnqOZ8u9zsbZc=.sha256"
} }

File diff suppressed because one or more lines are too long

View File

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