Skip to content

Commit

Permalink
chore: update .jshintrc
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
st3iny committed May 27, 2024
1 parent ae4a6e8 commit 8968b21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"esversion": 11,
"camelcase": true,
"eqeqeq": true,
"immed": true,
Expand All @@ -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,
Expand Down

0 comments on commit 8968b21

Please sign in to comment.