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:
parent
ae4a6e8d44
commit
8968b21ac8
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue