0
0
mirror of https://github.com/nextcloud/server.git synced 2024-12-26 23:18:39 +00:00
nextcloud_server/.jshintrc
Richard Steinmetz 8968b21ac8
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>
2024-05-27 07:53:01 +02:00

39 lines
602 B
Plaintext

{
"esversion": 11,
"camelcase": true,
"eqeqeq": true,
"immed": true,
"latedef": false,
"noarg": true,
"nonbsp": true,
"undef": true,
"unused": true,
"trailing": true,
"maxparams": 5,
"curly": true,
"jquery": true,
"indent": 4,
"browser": true,
"laxbreak": true,
"asi": true,
"globals": {
"console": true,
"it": true,
"xit": true,
"expect": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"sinon": true,
"fakeServer": true,
"_": true,
"OC": true,
"OCA": true,
"OCP": true,
"t": true,
"n": true,
"escapeHTML": true,
"Promise": true
}
}