diff options
author | Ed S <ejsanders@gmail.com> | 2020-04-27 20:29:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 21:29:13 +0200 |
commit | 34296ec547f0ab6577e8c31815447990a9c01b31 (patch) | |
tree | d7ca11b4d0652da56a30c23c285e7080814ba3dc /dist | |
parent | 7b0864d0539bbfbb01d88d9bc95369580ffd99bc (diff) | |
download | jquery-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.json | 3 |
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" } } |