asm.js-lint is a linting plugin for CodeMirror that validates asm.js code. Version 0.1.3, released around 2013, is the latest stable release. The package is minimal and designed to be used alongside CodeMirror's existing lint addon. It provides a helper script for validation and requires browserification for development. This plugin is rarely updated and has limited adoption, serving as a niche tool for asm.js development within CodeMirror.
npm install asm.js-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up asm.js linting in CodeMirror with script tags and configuration.
Consider using a modern linting tool for JavaScript asm.js modules.
Ensure you manually install a compatible version of CodeMirror.
Run 'browserify src/asm-lint-helper.js -o dist/asm-lint-helper.compiled.js' after installing asm.js.
Use only in browser-based CodeMirror instances.
Run 'npm install asm.js' before browserifying.
Ensure the script tag for 'addon/lint/lint.js' is included before asm-lint.js.
Load CodeMirror as a script tag before asm-lint.js.