diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2024-05-27 07:53:01 +0200 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2024-05-27 07:53:01 +0200 |
commit | 8968b21ac86373d549ffc210a4cbe2462af1c646 (patch) | |
tree | 729fe9ead4c0ba314f4bdd1efd225184d541d4d8 /.jshintrc | |
parent | ae4a6e8d4454b7896d0e40f367096a26d999dbf0 (diff) | |
download | nextcloud-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-- | .jshintrc | 3 |
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, |