Add JS Linting

This commit is contained in:
Nick Gerleman
2022-12-24 01:46:20 -08:00
parent 014986e9da
commit 4d17e309d2
47 changed files with 1447 additions and 561 deletions

View File

@@ -7,9 +7,9 @@
* @format
*/
const wrapAsm = require('../wrapAsm');
const wrapAsm = require("../wrapAsm");
module.exports = (loadAsm) => ({
loadYoga: () => loadAsm().then(wrapAsm),
...require('../generated/YGEnums'),
...require("../generated/YGEnums"),
});

View File

@@ -7,5 +7,5 @@
* @format
*/
const wrapAsm = require('../wrapAsm');
module.exports = (asm) => wrapAsm(asm());
const wrapAsm = require("../wrapAsm");
module.exports = (asm) => wrapAsm(asm());

View File

@@ -7,5 +7,5 @@
* @format
*/
const asm = require('../build/asmjs-async');
const asm = require("../build/asmjs-async");
module.exports = require("./_entryAsync")(asm);

View File

@@ -7,5 +7,5 @@
* @format
*/
const asm = require('../build/asmjs-sync');
const asm = require("../build/asmjs-sync");
module.exports = require("./_entrySync")(asm);

View File

@@ -7,5 +7,5 @@
* @format
*/
const asm = require('../build/wasm-async');
const asm = require("../build/wasm-async");
module.exports = require("./_entryAsync")(asm);

View File

@@ -7,5 +7,5 @@
* @format
*/
const asm = require('../build/wasm-sync');
const asm = require("../build/wasm-sync");
module.exports = require("./_entrySync")(asm);