From f390c7cf45c7b89466ddf3fa26c22aea1f1dcb09 Mon Sep 17 00:00:00 2001 From: David Majda Date: Tue, 3 May 2016 14:24:34 +0200 Subject: [PATCH] ESLint: Disable no-console in bin/.eslintrc.json, not bin/pegjs The less clutter in JavaScript files themselves, the better. --- bin/.eslintrc.json | 3 +++ bin/pegjs | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/.eslintrc.json b/bin/.eslintrc.json index 10d2238..3316f47 100644 --- a/bin/.eslintrc.json +++ b/bin/.eslintrc.json @@ -1,5 +1,8 @@ { "env": { "node": true + }, + "rules": { + "no-console": 0 } } diff --git a/bin/pegjs b/bin/pegjs index 05a2b46..218547b 100755 --- a/bin/pegjs +++ b/bin/pegjs @@ -1,7 +1,5 @@ #!/usr/bin/env node -/* eslint no-console: 0 */ - "use strict"; var fs = require("fs");