You've already forked godot
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:
10
platform/javascript/.eslintrc.engine.js
Normal file
10
platform/javascript/.eslintrc.engine.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"./.eslintrc.js",
|
||||
],
|
||||
"globals": {
|
||||
"Godot": true,
|
||||
"Preloader": true,
|
||||
"Utils": true,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user