abc7cc9a26
gjs has changed its configuration to YAML, so switch to that format to keep syncing possible. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/818
32 lines
592 B
YAML
32 lines
592 B
YAML
rules:
|
|
camelcase:
|
|
- error
|
|
- properties: never
|
|
allow: [^vfunc_, ^on_]
|
|
consistent-return: error
|
|
key-spacing:
|
|
- error
|
|
- mode: minimum
|
|
beforeColon: false
|
|
afterColon: true
|
|
no-unused-vars:
|
|
- error
|
|
- argsIgnorePattern: ^_
|
|
varsIgnorePattern: _$
|
|
object-curly-spacing:
|
|
- error
|
|
- always
|
|
prefer-arrow-callback: error
|
|
|
|
overrides:
|
|
- files: js/**
|
|
excludedFiles:
|
|
- js/extensionPrefs/*
|
|
- js/portalHelper/*
|
|
globals:
|
|
global: readonly
|
|
_: readonly
|
|
C_: readonly
|
|
N_: readonly
|
|
ngettext: readonly
|