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>
pull/45521/head
Richard Steinmetz 11 months ago
parent ae4a6e8d44
commit 8968b21ac8
No known key found for this signature in database
GPG Key ID: 27137D9E7D273FB2
  1. 3
      .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,

Loading…
Cancel
Save