From 7ab363359815fa1cf67a217b0a03e7ecf24fb4fe Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 28 Nov 2020 00:01:33 +0100 Subject: Enable linting of JS inside templates (#13708) Indentation-related rules are disabled because indent templates with tabs but our lint rules expect spaces. Also had to exclude a few files where using template variables in the JS is causing syntax errors for the JS parser. I don't think there's a way to solve this otherwise. Co-authored-by: Lauris BH --- templates/repo/diff/box.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/repo/diff') diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index d34d9b8fd9..d278e94457 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -278,14 +278,14 @@ {{if .IsSplitStyle}}