2
0
mirror of https://github.com/godotengine/godot.git synced 2024-12-27 11:24:59 +08:00
godot/platform/web/.eslintrc.html.js

20 lines
428 B
JavaScript
Raw Normal View History

module.exports = {
"plugins": [
"html",
"@html-eslint",
],
"parser": "@html-eslint/parser",
"extends": ["plugin:@html-eslint/recommended", "./.eslintrc.js"],
"rules": {
"no-alert": "off",
"no-console": "off",
"@html-eslint/require-closing-tags": ["error", { "selfClosing": "never" }],
"@html-eslint/indent": ["error", "tab"],
},
"globals": {
"Godot": true,
"Engine": true,
"$GODOT_CONFIG": true,
},
};