diff --git a/crates/cli-support/src/js/mod.rs b/crates/cli-support/src/js/mod.rs index 7e9a0d086..4a78dadc4 100644 --- a/crates/cli-support/src/js/mod.rs +++ b/crates/cli-support/src/js/mod.rs @@ -84,7 +84,7 @@ impl<'a> Context<'a> { Ok(Context { globals: String::new(), imports_post: String::new(), - typescript: "/* tslint:disable */\n".to_string(), + typescript: "/* tslint:disable */\n/* eslint-disable */\n".to_string(), exposed_globals: Some(Default::default()), imported_names: Default::default(), js_imports: Default::default(), diff --git a/crates/cli-support/src/wasm2es6js.rs b/crates/cli-support/src/wasm2es6js.rs index 07517af83..f50a1b38a 100644 --- a/crates/cli-support/src/wasm2es6js.rs +++ b/crates/cli-support/src/wasm2es6js.rs @@ -45,7 +45,7 @@ impl Config { } pub fn typescript(module: &Module) -> Result { - let mut exports = format!("/* tslint:disable */\n"); + let mut exports = format!("/* tslint:disable */\n/* eslint-disable */\n"); for entry in module.exports.iter() { let id = match entry.item {