1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

[HTML5] Enforce JavaScript style with eslint.

Applies to javascript files inside the platform library folder, the
exposed Engine code, and any javascript files in modules.

Files ending with ".externs.js" will be ignored, you can create a
".eslintignore" file to specify extra files to be ignored.
This commit is contained in:
Fabio Alessandrelli
2020-11-19 05:59:12 +01:00
parent a82f70ea9f
commit c38984d286
6 changed files with 1711 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
module.exports = {
"extends": [
"./.eslintrc.js",
],
"globals": {
"Godot": true,
"Preloader": true,
"Utils": true,
},
};