[gnome-shell-extensions] lint: Also allow camelcase for default signal handlers
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] lint: Also allow camelcase for default signal handlers
- Date: Tue, 2 Jul 2019 00:45:06 +0000 (UTC)
commit 6a25971366c2588c353f5bb4238e2abe5b985b6c
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jul 2 02:39:17 2019 +0200
lint: Also allow camelcase for default signal handlers
on_some_signal() is used less than vfunc_some_method(), but it can
still be useful.
lint/eslintrc-shell.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lint/eslintrc-shell.json b/lint/eslintrc-shell.json
index b7bef50..c7be598 100644
--- a/lint/eslintrc-shell.json
+++ b/lint/eslintrc-shell.json
@@ -4,7 +4,7 @@
"error",
{
"properties": "never",
- "allow": ["^vfunc_"]
+ "allow": ["^vfunc_", "^on_"]
}
],
"no-unused-vars": [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]