mirror of
https://github.com/remko/waforth
synced 2025-02-06 20:46:25 +01:00
Fix lint
This commit is contained in:
parent
9f927fb45a
commit
ddcd38c0fb
3 changed files with 9 additions and 3 deletions
|
@ -9,3 +9,6 @@ globals:
|
||||||
require: true
|
require: true
|
||||||
rules:
|
rules:
|
||||||
no-console: 0
|
no-console: 0
|
||||||
|
settings:
|
||||||
|
react:
|
||||||
|
version: "16.0"
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -34,3 +34,6 @@ src/tools/quadruple.wasm.hex: src/tools/quadruple.wasm
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -rf $(WASM_FILES) src/tools/quadruple.wasm src/tools/quadruple.wasm.hex src/waforth.wat.tmp dist
|
-rm -rf $(WASM_FILES) src/tools/quadruple.wasm src/tools/quadruple.wasm.hex src/waforth.wat.tmp dist
|
||||||
|
|
||||||
|
lint:
|
||||||
|
yarn run -s eslint .
|
||||||
|
|
|
@ -44,9 +44,9 @@ describe("WAForth", () => {
|
||||||
return name.join("");
|
return name.join("");
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCountedString(p) {
|
// function getCountedString(p) {
|
||||||
return getString(p + 4, memory[p / 4]);
|
// return getString(p + 4, memory[p / 4]);
|
||||||
}
|
// }
|
||||||
|
|
||||||
function loadString(s) {
|
function loadString(s) {
|
||||||
run("HERE");
|
run("HERE");
|
||||||
|
|
Loading…
Add table
Reference in a new issue