1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +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 e4cdae3624
commit 0813008b8a
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,
},
};