diff options
author | winniehell <git@winniehell.de> | 2016-10-26 11:02:58 +0300 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-10-26 11:02:58 +0300 |
commit | 02f94cf038b08d25bc1b414a32d16f988fb9268e (patch) | |
tree | 8744eb3f07d6b6446d38aa5c5ea864a31081e071 /app/assets/javascripts/extensions | |
parent | 8263324b73197830925f72357afc28d0946ea8f1 (diff) |
disable ESLint for all JavaScript files
Diffstat (limited to 'app/assets/javascripts/extensions')
-rw-r--r-- | app/assets/javascripts/extensions/array.js | 1 | ||||
-rw-r--r-- | app/assets/javascripts/extensions/element.js.es6 | 1 | ||||
-rw-r--r-- | app/assets/javascripts/extensions/jquery.js | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/extensions/array.js b/app/assets/javascripts/extensions/array.js index 24f9e00097c..4c9e219aa43 100644 --- a/app/assets/javascripts/extensions/array.js +++ b/app/assets/javascripts/extensions/array.js @@ -1,3 +1,4 @@ +/* eslint-disable */ Array.prototype.first = function() { return this[0]; } diff --git a/app/assets/javascripts/extensions/element.js.es6 b/app/assets/javascripts/extensions/element.js.es6 index d5d4af3573c..c74fc9ad074 100644 --- a/app/assets/javascripts/extensions/element.js.es6 +++ b/app/assets/javascripts/extensions/element.js.es6 @@ -1,3 +1,4 @@ +/* eslint-disable */ Element.prototype.matches = Element.prototype.matches || Element.prototype.msMatches; Element.prototype.closest = function closest(selector, selectedElement = this) { diff --git a/app/assets/javascripts/extensions/jquery.js b/app/assets/javascripts/extensions/jquery.js index 4978e24949c..623a80b7053 100644 --- a/app/assets/javascripts/extensions/jquery.js +++ b/app/assets/javascripts/extensions/jquery.js @@ -1,3 +1,4 @@ +/* eslint-disable */ // Disable an element and add the 'disabled' Bootstrap class (function() { $.fn.extend({ |