[gjs: 1/2] [skip eslint] as it'll break if multiple ESLint rules are incorrect.
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] [skip eslint] as it'll break if multiple ESLint rules are incorrect.
- Date: Wed, 30 May 2018 04:31:23 +0000 (UTC)
commit 2d03600d30e5933ef55b315de9df37d7729b0aec
Author: Avi Zajac <avirzajac gmail com>
Date: Tue May 29 17:32:31 2018 -0400
[skip eslint] as it'll break if multiple ESLint rules are incorrect.
.eslintrc.json | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
---
diff --git a/.eslintrc.json b/.eslintrc.json
index bdcd00db..82edcf07 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,6 +4,14 @@
},
"extends": "eslint:recommended",
"rules": {
+ "brace-style": "error",
+ "comma-spacing": [
+ "error",
+ {
+ "before": false,
+ "after": true
+ }
+ ],
"indent": [
"error",
4,
@@ -11,6 +19,13 @@
"MemberExpression": "off"
}
],
+ "keyword-spacing": [
+ "error",
+ {
+ "before": true,
+ "after": true
+ }
+ ],
"linebreak-style": [
"error",
"unix"
@@ -31,6 +46,20 @@
"semi": [
"error",
"always"
+ ],
+ "semi-spacing": [
+ "error",
+ {
+ "before": false,
+ "after": true
+ }
+ ],
+ "space-before-blocks": "error",
+ "space-infix-ops": [
+ "error",
+ {
+ "int32Hint": false
+ }
]
},
"globals": {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]