mirror of
https://github.com/jquery/jquery.git
synced 2026-01-08 22:08:12 -05:00
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:
3
dist/.eslintrc.json
vendored
3
dist/.eslintrc.json
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user