[gnome-shell-extensions/wip/fmuellner/lint-ci: 3/18] lint: Require spaces inside braces in object literals
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/wip/fmuellner/lint-ci: 3/18] lint: Require spaces inside braces in object literals
- Date: Mon, 28 Jan 2019 05:52:33 +0000 (UTC)
commit f18b281020beac94ce2233f37201d618e8164a2f
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Jan 27 22:25:30 2019 +0100
lint: Require spaces inside braces in object literals
Prohibiting spaces where the established GNOME style has required
them for a decade would be a harsh change for no good reason.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
lint/eslintrc-shell.json | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/lint/eslintrc-shell.json b/lint/eslintrc-shell.json
index f0290fe..d2157c2 100644
--- a/lint/eslintrc-shell.json
+++ b/lint/eslintrc-shell.json
@@ -1,4 +1,10 @@
{
+ "rules": {
+ "object-curly-spacing": [
+ "error",
+ "always"
+ ]
+ },
"globals": {
"global": false,
"_": false,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]