Commit Graph

73 Commits (3febd28b89da9b966061bc8a1bf36fb23e7e7d30)

Author SHA1 Message Date
JFH c4f0431436 remove mocha reports (cypress coverage sufficient) 2021-07-25 21:21:54 +02:00
JFH 074df9cdec eslint: enforce use of const when variable not modified 2021-05-31 00:09:51 +02:00
JFH 8e54c15638 review eslint rule 2021-05-30 16:49:53 +02:00
JFH 99ee706c18 eslint rule for declarations 2021-05-28 17:03:29 +02:00
JFH 01b022b1e7 identation requirement to eslint 2021-05-28 10:35:46 +02:00
JFH e71958e705 fix several configuration issue and linter 2021-05-19 23:09:40 +02:00
JFH 1337ce7a09 merge poly/star into a single extension 2021-05-15 17:48:53 +02:00
JFH 8b82f1b4d5 add more linter warnings 2021-05-14 23:28:12 +02:00
JFH d3974f8f17 enforce a few eslint rules 2021-05-13 01:00:09 +02:00
JFH 9a5292b467 fix missing semicolumns 2021-05-13 00:46:46 +02:00
JFH c75170916f
fix tests and configuration files
* update dependencies

* Update .eslintrc.js

* Update .gitignore

* Create onpush.yml

* downgrade 2 packages causing test failure
2021-05-09 20:51:26 +02:00
Brett Zamir d03e5eeae6 - Linting: Apply latest eslint-plugin-jsdoc; lint properties/param defaults 2020-10-20 09:48:07 +08:00
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