From 34296ec547f0ab6577e8c31815447990a9c01b31 Mon Sep 17 00:00:00 2001 From: Ed S Date: Mon, 27 Apr 2020 20:29:13 +0100 Subject: Build: Move ESLint max-len disable-directive to dist/.eslintrc.json This disable-directive only applies to the built version, so put it in /dist. This avoids a warning about an unused directive in the source version. Closes gh-4676 --- dist/.eslintrc.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dist') diff --git a/dist/.eslintrc.json b/dist/.eslintrc.json index af08e6812..7f7df317c 100644 --- a/dist/.eslintrc.json +++ b/dist/.eslintrc.json @@ -20,6 +20,9 @@ "rules": { // That is okay for the built version "no-multiple-empty-lines": "off", + // When custom compilation is used, the version string + // can get large. Accept that in the built version. + "max-len": "off", "one-var": "off" } } -- cgit v1.2.3