From ddcd38c0fb9476432800cb05127af930c7837a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 9 Mar 2019 20:13:00 +0100 Subject: [PATCH] Fix lint --- .eslintrc | 3 +++ Makefile | 3 +++ tests/index.js | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index 548f332..c4e72e6 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,3 +9,6 @@ globals: require: true rules: no-console: 0 +settings: + react: + version: "16.0" diff --git a/Makefile b/Makefile index ca18d12..2863b50 100644 --- a/Makefile +++ b/Makefile @@ -34,3 +34,6 @@ src/tools/quadruple.wasm.hex: src/tools/quadruple.wasm clean: -rm -rf $(WASM_FILES) src/tools/quadruple.wasm src/tools/quadruple.wasm.hex src/waforth.wat.tmp dist + +lint: + yarn run -s eslint . diff --git a/tests/index.js b/tests/index.js index 3c4c1c6..c14df06 100644 --- a/tests/index.js +++ b/tests/index.js @@ -44,9 +44,9 @@ describe("WAForth", () => { return name.join(""); } - function getCountedString(p) { - return getString(p + 4, memory[p / 4]); - } + // function getCountedString(p) { + // return getString(p + 4, memory[p / 4]); + // } function loadString(s) { run("HERE");