From 67549f5e62b51ade90d10b16d708acaef0a7feeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Tue, 18 May 2021 13:55:31 +0200 Subject: [PATCH] add lint script --- karma.conf.local.js | 1 - karma.conf.template.js | 2 -- package.json | 1 + 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/karma.conf.local.js b/karma.conf.local.js index 59d231d..cbf0b52 100644 --- a/karma.conf.local.js +++ b/karma.conf.local.js @@ -1,5 +1,4 @@ 'use strict' -/* eslint-disable @typescript-eslint/no-var-requires */ const template = require('./karma.conf.template.js') diff --git a/karma.conf.template.js b/karma.conf.template.js index 4c6d614..bca7e7e 100644 --- a/karma.conf.template.js +++ b/karma.conf.template.js @@ -1,7 +1,5 @@ 'use strict' -const path = require('path') - module.exports = (config) => ({ // Increase timeout in case connection in CI is slow captureTimeout: 120000, diff --git a/package.json b/package.json index c1900af..fb316cd 100755 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "xvfb-maybe": "^0.2.1" }, "scripts": { + "lint": "standard", "test": "mocha --reporter spec --timeout 10000", "build:browser": "webpack && webpack --optimization-minimize", "pretest:browser": "npm run build:browser",