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
This commit is contained in:
Ed S
2020-04-27 20:29:13 +01:00
committed by GitHub
parent 7b0864d053
commit 34296ec547
2 changed files with 3 additions and 2 deletions

3
dist/.eslintrc.json vendored
View File

@@ -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"
}
}