Commit Graph

61 Commits (6d1c36b6d3287015f3bf337c235757ade2954a69)

Author SHA1 Message Date
jfh 6d1c36b6d3 useEncodeURIComponent to add security to dynamic import 2020-10-05 21:27:48 +02:00
jfh cfbb5a5ec8 npm update + fix linked to this update
found an issue with eslint when empty comments were used.
2020-10-04 23:07:31 +02:00
jfh 5583488181 disable eslint rule for unsupported feature 2020-09-19 23:59:42 +02:00
jfh 359a161ff2 remove external folder in favor of npm dependencies 2020-09-19 15:21:30 +02:00
Brett Zamir e1bf86a249 - Linting: Remove reference to dom-polyfill 2020-09-17 11:01:35 +08:00
jfh cfb3620d3a group each plugin in its own folder 2020-09-06 08:32:10 +02:00
JFH 92635ba721 restore all eslint rules 2020-08-01 01:23:28 +02:00
JFH eea9e7328b remove eslint:recommended already part of sauron-node, move ecmaversion to year based value 2020-07-30 14:19:54 +02:00
JFH 777d878dae added back polyfills for older browsers 2020-07-28 00:59:20 +02:00
JFH 89e20d49e6 eslint/browser list/accessibility test 2020-07-26 20:11:18 +02:00
JFH db607768a7 remove the warning for no-reference-in-iterator (at least temporarly) 2020-07-25 19:31:51 +02:00
Brett Zamir 7100111d62 - Fix more paths (Rollup, build, eslint) paths
- Restore checking of a few modified "external" packages
2020-07-18 19:21:41 +08:00
Brett Zamir 0fc64b4912 - Linting: Fix .eslintrc.js overrides to point to new paths (and avoid need for inline disabling--except import/no-namespace) 2020-07-18 18:31:34 +08:00
Brett Zamir e0d68671ea - Linting: Avoid warnings for instrumented files (currently test files depend on instrumentation step, so we don't want CI checking the paths if not created there) 2020-07-13 17:06:32 +08:00
Brett Zamir 1c54824ad7 - Linting: Add local ESLint rule to prefer no-namespace on public files, but disable rule for now for our two very large files until they may be refactored into smaller files 2020-07-12 23:14:20 +08:00
Brett Zamir 135117ef79 - Refactoring: Add utilities `$q` and `$qq` for `querySelector`/`querySelectorAll` 2020-07-12 23:13:47 +08:00
Brett Zamir 4c638d4820 - Linting: As per latest ash-nazg
- Docs: Update license badge
- Docs(CHANGES): Update
- npm: Update devDeps. and package-lock.json
2020-07-01 13:34:47 +08:00
Brett Zamir ce2a8fb1e8 - Linting: As per latest ash-nazg
- Docs: Add feature and PR templates
- npm: Update devDeps.
2020-06-20 15:55:23 +08:00
Brett Zamir b7e11f1bf8 - Linting: As per latest ash-nazg
- npm: Update devDeps (and Jamilih copy)
2020-05-26 20:44:54 +08:00
Brett Zamir 05fc69795c - Linting (ESLint): eslint-plugin-jsdoc PR-inspired fixes; temporarily disable `unicorn/prefer-number-properties` 2020-05-08 17:32:46 +08:00
Brett Zamir 4b92acc790 - Update: Cypress code coverage plugin
- Linting: Update as per latest ash-nazg
- npm: Update devDeps.
2020-04-12 10:45:03 +08:00
Brett Zamir fccd584ab8 - Linting: Add notes on some
- npm: Switch `prepare`->`prepublish` as causing problems for Git installs
2020-04-03 08:15:53 +08:00
Brett Zamir 3c10411594 - Linting (ESLint): Make path dynamic in preparation for possible move to own library and to avoid complaints when mochawesome.json not yet built 2020-04-03 07:56:59 +08:00
Brett Zamir 7914f26e02 - Linting (ESLint): As per latest ash-nazg 2020-03-27 20:39:51 +08:00
Brett Zamir f3a83dcb1d - 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
2020-03-11 00:23:54 +08:00
Brett Zamir f8ed5018f5 - Linting: Reenable `mocha-cleanup/no-expressions-in-assertions` with new `replacementsOnly` rule
- npm: Point to `master` of `eslint-plugin-mocha-cleanup` fork (until release)
2020-02-28 19:08:16 +08:00
Brett Zamir 9fac8ecc58 - Linting (ESLint): Add `fintechstudieos/eslint-plugin-chai-as-promised`,
`eslint-plugin-chai-expect-keywords`, and `eslint-plugin-mocha-cleanup`
    plugins
2020-02-26 14:34:42 +08:00
Brett Zamir 7c6f512512 - Linting: Lint hidden `ncurc.js` file
- Docs: Add 6.0.0.md migration file
- Docs: Update Contributing, Testing (renamed to Development), Linting and ReleaseInstructions
- Docs: Info on submodules
- npm: Add scripts for updating submodules
- npm: Add `license-badges`, `build-docs`, and `copy` scripts to `prepublishOnly` script
- npm: Bump to 6.0.0
2020-02-22 14:16:12 +08:00
Brett Zamir e60812e196 - Linting (ESLint): Check eslintrc file itself
- Linting: Add linting plugins (mocha, chai-expect, chai-friendly, cypress)
- Testing: Change cypress plugins file to ESM (so can set up any needed unit testing tasks)
2020-02-21 16:34:55 +08:00
Brett Zamir f9f359b98f - Linting (ESLint): As per latest ash-nazg (jsdoc for classes/methods)
- npm: Update devDeps
2020-01-29 12:09:42 +08:00
Brett Zamir 860dca4339 - Optimization: Remove unmaintained chrome-app, firefox-extension,
opera-widget (an updated WebExtensions replacement (or such)
  would be welcome.)
2020-01-07 09:57:25 +08:00
Brett Zamir fae7d33b8a - Linting (ESLint): List needed polyfills by directories so known whether users will need or just in development 2020-01-06 22:51:49 +08:00
Brett Zamir 97f64d2189 - Refactoring: Move `build-html` to `build` directory
- Optimization: Remove old build/tools closure/yuicompressor code
- Testing: Produce mochawesome report
- Testing: Cypress with multiple reporters (was expecting we'd need, but doesn't hurt to add for now)
- Docs: Add testing badge
- Docs: Reprioritize `docs` in commit lists (prioritize user-facing)
- npm: Update `package-lock.json` (seems to have fixed so Cypress shows incremental results)
2020-01-06 13:42:52 +08:00
Brett Zamir 332a562876 - npm: Update devDeps 2020-01-02 19:52:46 +08:00
Brett Zamir cc6937ce96 - Linting (ESLint): Add rules to check for file-level tags 2020-01-01 01:15:16 +08:00
cuixiping 24b51b5d57 Fix: Add CustomEvent to polyfills 2019-12-25 15:53:27 +08:00
Brett Zamir a59170fbe1 - Linting (ESLint): Simplify regexes
- npm: Update scripts to reflect removal of `all_tests.html`;
  remove `browser-test` script
- npm: Update devDeps
2019-11-30 11:41:01 +08:00
Brett Zamir 3200e0ab8e - Docs/Build: Script to build coverage badge 2019-11-25 08:40:37 +08:00
Brett Zamir c3c9b0f54d - Testing: Migrate remaining HTML tests to Cypress 2019-11-24 16:53:10 +08:00
Brett Zamir 3736fddb7f - Testing: Switch to Cypress with code coverage
- npm: Add peerDeps
2019-11-23 21:18:05 +08:00
Brett Zamir 19f7962c4a - Revert `prefer-named-capture-group` due to apparently problematic Babel plugin 2019-11-16 10:08:38 +08:00
Brett Zamir d856dbae4a - Build: Update build per latest Babel
- npm: Add script to fix eslint errors
- npm: Update devDeps
2019-10-01 17:33:36 +08:00
Brett Zamir aa96a35f45 - Linting (ESLint): Apply per jsdoc improvements
- npm: Update devDeps (linting, Babel, axe testing)
2019-07-09 08:55:34 +08:00
Brett Zamir e4231aeb10 - Linting (ESLint): Lint per latest ash-nazg (e.g., named capture)
- Linting (ESLint): Add HTML files to linting and add devDeps for new ash-nazg
- npm: Update devDeps
2019-07-03 17:50:46 +08:00
Brett Zamir 4177146acd - Linting (ESLint): Remove now unneeded config and add per new update
- Refactoring: Prefer for-of, event.key (newly enforced linting)
- Refactoring: Better var. names
- npm: Update devDeps and update local copies
2019-06-11 16:40:28 +08:00
Brett Zamir f6b5360a58 - Linting:
- npm: Update eslint-plugin-jsdoc
2019-05-24 16:35:15 +08:00
Brett Zamir d88e542dad - Linting: Add `replacement` 2019-05-24 15:00:45 +08:00
Brett Zamir 098caebae6 - Todo 2019-05-24 14:51:57 +08:00
Brett Zamir fa4ea90c72 INCOMPLETE: Remove check types file
- Linting: `match-description`, bad returns
- Linting: Use eslint-plugin-jdsoc `preferredTypes` in place of custom file
- Linting: Remove `report-unused-disable-directives` command as have as rule
- Lintin: Avoid overly generic `Array`
- npm: Update devDep
2019-05-24 14:44:57 +08:00
Brett Zamir a7da98ca1b - Linting (ESLint): Avoid unneeded tag name preference
- Linting (jsdoc): Avoid `Promise` without type
2019-05-24 10:12:10 +08:00