11 Commits

Author SHA1 Message Date
Veeck
1e8f100f20 Update computedStyle usage (#2528)
* Fix getComputedStyle eslint rule

* Add TODO for ruby

* Use computed style in ruby test

* Use 3rd parameter in computedStyle

* Fix computedStyle usage

* Remove useless checks

* Update dependencies
2020-04-26 22:29:14 +02:00
Veeck
2318c1307d Use eslint:recommended, cleanup warnings (#2527)
* Use eslint:recommended, cleanup warnings

* Update mkdirp
2020-04-03 08:40:09 +02:00
Veeck
0f57b8053c Update jsdocs (#2526)
* Show warnings too when linting

* Fix some jsdoc warnings

* Cleanup globals

* Use recommended jsdoc settings

* Fix wrong "false" return parameters
2020-03-23 12:08:56 +01:00
Veeck
6a2f4256d8 Check for multi-spaces with eslint, fix those and cleanup some DOCs and notes 2019-04-18 17:54:02 +02:00
Ivan Nikolić
a5f00a63bf Move custom ESLint rule to no-restricted-syntax (#2359) 2018-08-06 20:55:20 +02:00
Veeck
e2c27dcd32 Update jsdoc (#2346)
* Clean up some doc tags

* Replace memberOf with memberof, undo any other changes in html5shiv/printshiv to get back to pristine state

* Small cleanups

* Add custom tags to jsdoc config

* Cleanup jsdoc tags

* Cleanup jsdoc tags

* Add inch config file to exclude html5shivs

* Update inch yml

* Use inch.json instead

* Dont inch the lib folder

* Cleanup jsdoc tags

* More jsdoc cleanups

* Move inch config into one file

* Add comma-dangle rule to eslint

* Cleanup grunt file tasks a little

* Remove some leftover async:false

* Review fixes

* Fix seplling error

* More DOC cleanups

* Fix compile error

* Whitelines/spaces cleanup

* Add eslint rule against multiple whitelines, fix those occurences

* Remove unused (and disabled) eslint entries, sort alphabetically

* Ignored file is not with".min"

* Add task for generating and reporting the coverage from istanbul

* Update eslint dependency

* Small JSdoc cleanups

* Remove unused eslint hint

* Add optional tag back to parameter

* Rname memberof -> memberOf, makes html5shivs original again
2018-07-28 19:15:36 +02:00
Veeck
56f2e44636 Update eslint (#2348)
* Update eslint

* Check for missing semicolons with eslint and fix those
2018-07-10 12:55:22 +02:00
Veeck
1956f0b40d Update eslint (#2304)
* html5shiv files are excluded in grunt task already

* Fix some indendation errors

* Remove orphaned jshint files

* Use eslint-plugin-jsdoc for jsdoc

* Update eslint, remove incompatible google preset

* Update eslint-plugin-jsdoc, fix some new warnings
2018-05-23 15:58:24 +02:00
Jonathan del Strother
423b1213cf Fix "elem.parentNode is null" with Flashblock (#2063)
* Fix "elem.parentNode is null" with Flashblock

* Enforce curly braces via eslint
2016-09-02 10:32:13 -07:00
patrick kettner
e55aba3198 block direct usage of getComputedStyle, as it causes problems in certain (#2045)
sitautions in firefox
2016-07-31 21:05:07 +04:00
patrick kettner
6b26daeee8 convert jshint and jscs to eslint (#2044) 2016-07-31 20:47:05 +04:00