From 393cad504f90d08cdb48d2adc129eb3bd56eaefa Mon Sep 17 00:00:00 2001 From: Kushan Joshi <0o3ko0@gmail.com> Date: Wed, 15 Jun 2016 21:29:47 +0530 Subject: [PATCH] lint modules --- modules/.eslintrc | 5 ++++- package.json | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/.eslintrc b/modules/.eslintrc index e33f50f09..9cec26b55 100644 --- a/modules/.eslintrc +++ b/modules/.eslintrc @@ -5,5 +5,8 @@ }, extends: [ "plugin:import/errors" - ] + ], + rules: { + "no-invalid-this": 0 + } } diff --git a/package.json b/package.json index 6965a7e19..fe8d5f095 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,7 @@ "scripts": { "test": "npm run lint && phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html dot && make && phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index_packaged.html dot", "start": "http-server .", - "lint": "eslint js/id test/spec", - "lint:modules": "eslint modules" + "lint": "eslint js/id test/spec modules" }, "repository": { "type": "git",