From 8968b21ac86373d549ffc210a4cbe2462af1c646 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Mon, 27 May 2024 07:53:01 +0200 Subject: chore: update .jshintrc Changes: - `esversion: 11` We use bundlers so let's use a modern version of js - `maxlen: 120` This should be enforced by linters if at all (the rule is deprected by jshintrc anyway: https://jshint.com/docs/options/#maxlen) - `asi: true` Suppress warnings about missing semicolons (it's 2024 after all) Signed-off-by: Richard Steinmetz --- .jshintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.jshintrc') diff --git a/.jshintrc b/.jshintrc index 19ce0606297..a1802bb781f 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,4 +1,5 @@ { + "esversion": 11, "camelcase": true, "eqeqeq": true, "immed": true, @@ -11,10 +12,10 @@ "maxparams": 5, "curly": true, "jquery": true, - "maxlen": 120, "indent": 4, "browser": true, "laxbreak": true, + "asi": true, "globals": { "console": true, "it": true, -- cgit v1.2.3