aboutsummaryrefslogtreecommitdiffstats
path: root/.jshintrc
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2024-05-27 07:53:01 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2024-05-27 07:53:01 +0200
commit8968b21ac86373d549ffc210a4cbe2462af1c646 (patch)
tree729fe9ead4c0ba314f4bdd1efd225184d541d4d8 /.jshintrc
parentae4a6e8d4454b7896d0e40f367096a26d999dbf0 (diff)
downloadnextcloud-server-8968b21ac86373d549ffc210a4cbe2462af1c646.tar.gz
nextcloud-server-8968b21ac86373d549ffc210a4cbe2462af1c646.zip
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 <richard@steinmetz.cloud>
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc3
1 files changed, 2 insertions, 1 deletions
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,