mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
HTML5: Fix minification error with Emscripten 1.39.9
It used an old vendored version of acorn.js which seems to choke on this trailing comma. This is not a problem for more recent Emscripten versions. We disable the `comma-dangle` check in ESLint to prevent this issue.
This commit is contained in:
parent
ad635567b1
commit
23b51a1708
@ -39,5 +39,13 @@ module.exports = {
|
||||
// Closure compiler (exported properties)
|
||||
"quote-props": ["error", "consistent"],
|
||||
"dot-notation": "off",
|
||||
// No comma dangle for functions (it's madness, and ES2017)
|
||||
"comma-dangle": ["error", {
|
||||
"arrays": "always-multiline",
|
||||
"objects": "always-multiline",
|
||||
"imports": "always-multiline",
|
||||
"exports": "always-multiline",
|
||||
"functions": "never"
|
||||
}],
|
||||
}
|
||||
};
|
||||
|
@ -229,7 +229,7 @@ const GodotAudioWorklet = {
|
||||
'godot-processor',
|
||||
{
|
||||
'outputChannelCount': [channels],
|
||||
},
|
||||
}
|
||||
);
|
||||
return Promise.resolve();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user