From 422ea757aef9f2cce9b90bb071ceb60c9866101e Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 15 Nov 2016 13:13:05 +0000 Subject: [PATCH] eslint: Re-enable wrap-iife and partially enable dot-notation Also removed upstreamed spaced-comment rule. Change-Id: Ide83abeedfea27c1f4574af0069d5a9fdb81de84 --- .eslintrc.json | 4 +--- modules/ve-math/tools/makeSvgsAndCss.js | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 955cabc..158c7b1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,8 +12,6 @@ "OO": false }, "rules": { - "dot-notation": 0, - "wrap-iife": 0, - "spaced-comment": ["error", "always", { "exceptions": ["*", "!"] }] + "dot-notation": [ "error", { "allowKeywords": true } ] } } diff --git a/modules/ve-math/tools/makeSvgsAndCss.js b/modules/ve-math/tools/makeSvgsAndCss.js index e9b31ce..4397743 100755 --- a/modules/ve-math/tools/makeSvgsAndCss.js +++ b/modules/ve-math/tools/makeSvgsAndCss.js @@ -209,4 +209,4 @@ count = 0; runNext(); -} )(); +}() );