From e44dd7cf4e3858e9280f8a47a6932ece875aa3d1 Mon Sep 17 00:00:00 2001
From: Pierre-Alexis Ciavaldini <pierre-alexis@ciavaldini.fr>
Date: Tue, 29 May 2018 20:46:46 +0200
Subject: [PATCH] cleaning

---
 .editorconfig |   7 ++
 index.html    |  16 +--
 tslint.json   | 308 +++++++++++++++++++++++++-------------------------
 3 files changed, 163 insertions(+), 168 deletions(-)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6dde238
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,7 @@
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
diff --git a/index.html b/index.html
index 1de36d0..bf02495 100644
--- a/index.html
+++ b/index.html
@@ -3,25 +3,13 @@
 
 <head>
   <title>IOTA-Messenger</title>
-  
-  <!-- VueJS -->
-  <!-- development version, includes helpful console warnings -->
-  <!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
-  
-  <!-- IOTA -->
-  <!-- <script src="bower_components/iota.lib.js/dist/iota.js"></script> -->
-  
-  <!-- <link rel="stylesheet" href="./index.css"> -->
 </head>
 
 <body>
   <div id="app">
-    <im-nav :store="store"></im-nav>
+    <im-nav     :store="store"></im-nav>
     <im-sidebar :store="store"></im-sidebar>
-    <im-chat :store="store"></im-chat>
+    <im-chat    :store="store"></im-chat>
     <im-chatbox :store="store"></im-chatbox>
   </div>
 </body>
-
-<!-- main -->
-<!-- <script src="./index.js"></script> -->
diff --git a/tslint.json b/tslint.json
index e0643f4..bc7d3de 100644
--- a/tslint.json
+++ b/tslint.json
@@ -1,155 +1,155 @@
 {
-    "rules": {
-        "align": [
-            true,
-            "parameters",
-            "statements"
-        ],
-        "ban": [
-            true,
-            [
-                "_",
-                "forEach"
-            ],
-            [
-                "_",
-                "each"
-            ],
-            [
-                "$",
-                "each"
-            ],
-            [
-                "angular",
-                "forEach"
-            ]
-        ],
-        "class-name": true,
-        "comment-format": [
-            true,
-            "check-space"
-        ],
-        "curly": false,
-        "eofline": true,
-        "forin": false,
-        "indent": [
-            true,
-            "spaces",
-            2
-        ],
-        "jsdoc-format": true,
-        "label-position": true,
-        "max-line-length": [
-            false
-        ],
-        "member-access": true,
-        "member-ordering": [
-            true,
-            {
-                "order": "fields-first"
-            }
-        ],
-        "new-parens": true,
-        "no-angle-bracket-type-assertion": false,
-        "no-any": false,
-        "no-arg": true,
-        "no-bitwise": false,
-        "no-conditional-assignment": true,
-        "no-consecutive-blank-lines": true,
-        "no-console": [
-            true,
-            "info",
-            "time",
-            "timeEnd",
-            "trace"
-            // "log"
-        ],
-        "no-construct": true,
-        "no-debugger": true,
-        "no-default-export": false,
-        "no-duplicate-variable": true,
-        "no-empty": false,
-        "no-eval": false,
-        "no-inferrable-types": false,
-        "no-internal-module": true,
-        "no-namespace": false,
-        "no-null-keyword": true,
-        "no-reference": true,
-        "no-shadowed-variable": false,
-        "no-string-literal": false,
-        "no-switch-case-fall-through": true,
-        "no-trailing-whitespace": false,
-        "no-unused-expression": true,
-        "no-use-before-declare": true,
-        "no-var-keyword": true,
-        "no-var-requires": true,
-        "object-literal-sort-keys": false,
-        "one-line": [
-            true,
-            "check-open-brace",
-            "check-whitespace"
-        ],
-        "one-variable-per-declaration": true,
-        "quotemark": [
-            true,
-            "single",
-            "avoid-escape"
-        ],
-        "radix": false,
-        "semicolon": [
-            true,
-            "always"
-        ],
-        "switch-default": false,
-        "trailing-comma": [
-            true,
-            {
-                "multiline": "always",
-                "singleline": "never"
-            }
-        ],
-        "triple-equals": [
-            true,
-            "allow-null-check",
-            "allow-undefined-check"
-        ],
-        "typedef": [
-            true,
-            "parameter",
-            "property-declaration",
-            "member-variable-declaration"
-        ],
-        "typedef-whitespace": [
-            true,
-            {
-                "call-signature": "nospace",
-                "index-signature": "nospace",
-                "parameter": "nospace",
-                "property-declaration": "nospace",
-                "variable-declaration": "nospace"
-            },
-            {
-                "call-signature": "space",
-                "index-signature": "space",
-                "parameter": "space",
-                "property-declaration": "space",
-                "variable-declaration": "space"
-            }
-        ],
-        "use-isnan": true,
-        "variable-name": [
-            true,
-            "allow-leading-underscore",
-            "ban-keywords"
-        ],
-        "whitespace": [
-            true,
-            "check-branch",
-            "check-decl",
-            "check-operator",
-            "check-separator",
-            "check-type",
-            "check-typecast"
-        ]
-    }
-}
\ No newline at end of file
+  "rules": {
+    "align": [
+      true,
+      "parameters",
+      "statements"
+    ],
+    "ban": [
+      true,
+      [
+        "_",
+        "forEach"
+      ],
+      [
+        "_",
+        "each"
+      ],
+      [
+        "$",
+        "each"
+      ],
+      [
+        "angular",
+        "forEach"
+      ]
+    ],
+    "class-name": true,
+    "comment-format": [
+      true,
+      "check-space"
+    ],
+    "curly": false,
+    "eofline": true,
+    "forin": false,
+    "indent": [
+      true,
+      "spaces",
+      2
+    ],
+    "jsdoc-format": true,
+    "label-position": true,
+    "max-line-length": [
+      false
+    ],
+    "member-access": true,
+    "member-ordering": [
+      true,
+      {
+        "order": "fields-first"
+      }
+    ],
+    "new-parens": true,
+    "no-angle-bracket-type-assertion": false,
+    "no-any": false,
+    "no-arg": true,
+    "no-bitwise": false,
+    "no-conditional-assignment": true,
+    "no-consecutive-blank-lines": true,
+    "no-console": [
+      true,
+      "info",
+      "time",
+      "timeEnd",
+      "trace"
+      // "log"
+    ],
+    "no-construct": true,
+    "no-debugger": true,
+    "no-default-export": false,
+    "no-duplicate-variable": true,
+    "no-empty": false,
+    "no-eval": false,
+    "no-inferrable-types": false,
+    "no-internal-module": true,
+    "no-namespace": false,
+    "no-null-keyword": true,
+    "no-reference": true,
+    "no-shadowed-variable": false,
+    "no-string-literal": false,
+    "no-switch-case-fall-through": true,
+    "no-trailing-whitespace": false,
+    "no-unused-expression": true,
+    "no-use-before-declare": true,
+    "no-var-keyword": true,
+    "no-var-requires": true,
+    "object-literal-sort-keys": false,
+    "one-line": [
+      true,
+      "check-open-brace",
+      "check-whitespace"
+    ],
+    "one-variable-per-declaration": true,
+    "quotemark": [
+      true,
+      "single",
+      "avoid-escape"
+    ],
+    "radix": false,
+    "semicolon": [
+      true,
+      "always"
+    ],
+    "switch-default": false,
+    "trailing-comma": [
+      true,
+      {
+        "multiline": "always",
+        "singleline": "never"
+      }
+    ],
+    "triple-equals": [
+      true,
+      "allow-null-check",
+      "allow-undefined-check"
+    ],
+    "typedef": [
+      true,
+      "parameter",
+      "property-declaration",
+      "member-variable-declaration"
+    ],
+    "typedef-whitespace": [
+      true,
+      {
+        "call-signature": "nospace",
+        "index-signature": "nospace",
+        "parameter": "nospace",
+        "property-declaration": "nospace",
+        "variable-declaration": "nospace"
+      },
+      {
+        "call-signature": "space",
+        "index-signature": "space",
+        "parameter": "space",
+        "property-declaration": "space",
+        "variable-declaration": "space"
+      }
+    ],
+    "use-isnan": true,
+    "variable-name": [
+      true,
+      "allow-leading-underscore",
+      "ban-keywords"
+    ],
+    "whitespace": [
+      true,
+      "check-branch",
+      "check-decl",
+      "check-operator",
+      "check-separator",
+      "check-type",
+      "check-typecast"
+    ]
+  }
+}
-- 
GitLab