0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-03-15 00:43:23 +00:00

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>
This commit is contained in:
Richard Steinmetz 2024-05-27 07:53:01 +02:00
parent ae4a6e8d44
commit 8968b21ac8
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2

View file

@ -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,