aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorEd S <ejsanders@gmail.com>2020-04-27 20:29:13 +0100
committerGitHub <noreply@github.com>2020-04-27 21:29:13 +0200
commit34296ec547f0ab6577e8c31815447990a9c01b31 (patch)
treed7ca11b4d0652da56a30c23c285e7080814ba3dc /dist
parent7b0864d0539bbfbb01d88d9bc95369580ffd99bc (diff)
downloadjquery-34296ec547f0ab6577e8c31815447990a9c01b31.tar.gz
jquery-34296ec547f0ab6577e8c31815447990a9c01b31.zip
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
Diffstat (limited to 'dist')
-rw-r--r--dist/.eslintrc.json3
1 files changed, 3 insertions, 0 deletions
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"
}
}