[gnome-maps/wip/mattiasb/eslint: 3/8] Lint: No console
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mattiasb/eslint: 3/8] Lint: No console
- Date: Sat, 30 Jan 2016 20:25:42 +0000 (UTC)
commit 15bf271faca99b1d568ab1f313742cc97f583a88
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Sat Jan 30 20:39:00 2016 +0100
Lint: No console
Don't allow using console.* functions, since they don't exist in GJS.
http://eslint.org/docs/rules/no-console
.eslintrc.yaml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 4672017..cdb5afb 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -10,3 +10,5 @@ rules:
no-cond-assign:
- 2
- "always"
+ no-console:
+ - 2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]