- Linting (ESLint): As per latest ash-nazg (unicorn)

- npm: Update devDeps; use stable eslint-plugin-mocha-cleanup now that updated
- npm: Add scripts for reporting with test summaries (free of full noise during tests);
    auto-run at end of tests
- npm: Update devDeps. and use stable version of eslint-plugin-mocha-cleanup
This commit is contained in:
Brett Zamir
2020-03-11 00:23:54 +08:00
parent 231fdb2189
commit f3a83dcb1d
23 changed files with 315 additions and 113 deletions

View File

@@ -22,8 +22,12 @@ export default {
imagelibStrings.imgLibs = imagelibStrings.imgLibs.map(({name, url, description}) => {
// Todo: Adopt some standard formatting library like `fluent.js` instead
url = url
// Keep these regexes as is in prep. for switching to `u` flag
// which will require escaping
// eslint-disable-next-line unicorn/better-regex
.replace(/\{path\}/g, extIconsPath)
.replace(
// eslint-disable-next-line unicorn/better-regex
/\{modularVersion\}/g,
modularVersion
? (imagelibStrings.moduleEnding || '-es')