From 7d5168d5917028bd9a36782d180177c7f1c2b4c2 Mon Sep 17 00:00:00 2001 From: iq3 Date: Mon, 5 Aug 2019 21:51:07 +0900 Subject: [PATCH] Fixed warnings. --- rollup.config.js | 2 +- tslint.json | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 91514a8..bc4dfa8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -20,7 +20,7 @@ export default { } } }), - nodeResolve({ jsnext: true }), + nodeResolve({ mainFields: ['module', 'main'] }), typescript(), commonjs() ] diff --git a/tslint.json b/tslint.json index 05ee437..810e3d0 100644 --- a/tslint.json +++ b/tslint.json @@ -34,10 +34,8 @@ "no-switch-case-fall-through": true, "no-trailing-whitespace": true, "no-unused-expression": true, - "no-use-before-declare": true, "no-var-keyword": true, "object-literal-sort-keys": false, - "no-for-in-array": true, "one-line": [true, "check-open-brace", "check-catch",