mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
74e7a4a041
Tests a basic WebAssembly module that adds two numbers.
wasm example from the WebAssembly/wabt repo licensed
Apache 2.0.
Refs: 49b7984544/demo/wat2wasm/examples.js (L27-L32)
PR-URL: https://github.com/nodejs/node/pull/16760
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
22 lines
491 B
YAML
22 lines
491 B
YAML
## Test-specific linter rules
|
|
|
|
rules:
|
|
# ECMAScript 6
|
|
# http://eslint.org/docs/rules/#ecmascript-6
|
|
no-var: error
|
|
prefer-const: error
|
|
symbol-description: off
|
|
|
|
# Custom rules in tools/eslint-rules
|
|
prefer-assert-iferror: error
|
|
prefer-assert-methods: error
|
|
prefer-common-mustnotcall: error
|
|
crypto-check: error
|
|
inspector-check: error
|
|
## common module is mandatory in tests
|
|
required-modules: [error, common]
|
|
|
|
# Global scoped methods and vars
|
|
globals:
|
|
WebAssembly: false
|