* Sync lockfile
* Add and setup amo eslint config
* Use Array.prototype.some instead of loop
* Make test command compare with addons-frontend
* Update README to refer to yarn over npm
* Flag Mozilla conditions of use violation.
Fixes#1285
* Performance optimization: initialize regex only once.
This also forwards _console and silents test output.
* Don't match on empty strings
* Fix comment
* Refactor badwords matching to be more performant and simpler.
* Remove trim
* Expose total size of "code" files in metadata.
There is now a new `totalScannedFileSize` property in `addonMetadata`.
Fixes#1304
* Update docstring a bit
* Fix javascript test to use new eslint rule format.
* Cleanup dependencies, configure runInBand because we are messing with processes and this leads to inconsisten test results / failures
* Add test-ci shortcut to make tests more predictable and simpler (no process magic) on travis.
* Add missing files
* Fix testMatch
* Fix test and test-no-coverage commands
* Fix default value in manifestjson to be the same key as in the parsedJSON later
* Simplify addons linter test
* Add some optimizations
* Rewrite cli-process test to not rely on shell js and make it work with jest.
* Lots of cleanups, fix toThrow tests to check for messages again.
* re-add eslint, remove more stuff from Gruntfile
* Add proper eslintignore file
* Lots of cleanups, fix all remaining eslint problems.
* Do not test our workaround, that'll be a mess...
* Add test that checks for importSchemas to skip certain files.
* activate jest environment, remove custom global entries
* add collectCoverageFrom config
* remove some old, removed, uncovered code.
* more test fixes
* add missing file
* Overwrite eslint default ignore patterns.
This scans node_modules and bower_components. Fixes#1288
* Update test with a bit more docs
* Make link absolute
* Add test to make sure .eslintignorerc is not read too.
* Add mixxing node_modules/foo.js file
* Ignore obvious syntax error in test fixture
* Actually record scanned file names, use them to test.
* Adapt all other tests to new API
* Adapt tests to new api, unify messages naming to 'linterMessages'
* Some more fixes
* Refactor and fix test.rdf.js, fix getContents usage, refs #292
* Refactor and fix test.html.js, fix getContents usage, refs #292
* Fix javascript scanner tests to be compatible with our new api
* Remove eslingignore again, not needed anymore
* filename should be let
* Revert...
* let -> const
* Fix comments, fix some naming
* Smaller refactor to actually test from what scanner a file got scanned.
* Add a few more tests to increase coverage.
* Fix recordScannedFile to not insert the scanner twice.
* Fix duplicate check
* Throw an error if scannerName is not implemented.
* Fix test, add some documentation.
* Document github issue
This turned out to be a lot more work than I thought it'd be, because
of how we were scanning manifest.json files.
Now we scan all JSON files, so anything that would throw Firefox for a loop
should be caught by the linter.