summaryrefslogtreecommitdiff
path: root/platform/web/.eslintrc.html.js
blob: 5cb8de360ad91ff2ab8c79a799618d6e4d8eaa12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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,
	},
};