21e4cb142d
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>
34 lines
649 B
YAML
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
|