gnome-shell/lint/eslintrc-shell.yml
Florian Müllner 21e4cb142d lint: Relax jsdoc requirement
Requiring a description for every parameter even in internal
functions or in obvious cases ("actor - the actor") is cumbersome,
so relax that rule.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2842>
2023-07-14 12:36:53 +00:00

34 lines
649 B
YAML

rules:
camelcase:
- error
- properties: never
allow: [^vfunc_, ^on_]
consistent-return: error
eqeqeq:
- error
- smart
key-spacing:
- error
- mode: minimum
beforeColon: false
afterColon: true
prefer-arrow-callback: error
jsdoc/require-param-description: off
overrides:
- files: js/**
excludedFiles:
- js/portalHelper/*
- js/misc/extensionUtils.js
globals:
global: readonly
_: readonly
C_: readonly
N_: readonly
ngettext: readonly
- files: subprojects/extensions-app/js/**
globals:
_: readonly
C_: readonly
N_: readonly