From eb6991ae4990f5ac48d5e3510016854bf37df00c Mon Sep 17 00:00:00 2001 From: Julien Voisin Date: Thu, 16 Jan 2025 02:43:03 +0000 Subject: [PATCH] tests(js): improve `.jshintrc` --- internal/ui/static/js/.jshintrc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/internal/ui/static/js/.jshintrc b/internal/ui/static/js/.jshintrc index 80fc4c09..8ed5b20f 100644 --- a/internal/ui/static/js/.jshintrc +++ b/internal/ui/static/js/.jshintrc @@ -1,3 +1,15 @@ { - "esversion": 8 -} \ No newline at end of file + "esversion": 11, + "bitwise": true, + "freeze": true, + "nonew": true, + "latedef": "nofunc", + "noarg": true, + "nocomma": true, + "nonbsp": true, + "nonew": true, + "browser": true, + "shadow": true, + "varstmt": true, + "noreturnawait": true +}