- 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
This commit is contained in:
Brett Zamir
2019-05-24 20:17:17 +08:00
parent f6b5360a58
commit 4177146acd
38 changed files with 2450 additions and 1476 deletions

View File

@@ -15,7 +15,6 @@
"scripts": {
"prepublishOnly": "npm run test-prep",
"build-config": "rollup -c rollup-config.config.js",
"types-docs": "npx babel-node --plugins @babel/plugin-transform-modules-commonjs jsdoc-check-overly-generic-types.js",
"open-es-allext": "open-cli http://localhost:8000/editor/svg-editor-es.html?extensions=ext-arrows.js,ext-closepath.js,ext-foreignobject.js,ext-helloworld.js,ext-mathjax.js,ext-php_savefile.js,ext-server_moinsave.js,ext-server_opensave.js,ext-webappfind.js,ext-xdomain-messaging.js",
"build-docs": "rm -rf docs/jsdoc/*;jsdoc --pedantic -c docs/jsdoc-config.js editor",
"open-docs": "open-cli http://localhost:8000/docs/jsdoc/ && npm start",
@@ -84,14 +83,14 @@
"@mysticatea/eslint-plugin": "^10.0.3",
"axe-testcafe": "^1.1.0",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"core-js-bundle": "^3.1.2",
"core-js-bundle": "^3.1.3",
"eslint": "5.16.0",
"eslint-config-ash-nazg": "4.0.0",
"eslint-config-ash-nazg": "7.0.1",
"eslint-config-standard": "12.0.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-eslint-comments": "^3.1.1",
"eslint-plugin-import": "2.17.2",
"eslint-plugin-jsdoc": "^7.0.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-jsdoc": "^8.0.0",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-no-use-extend-native": "^0.4.0",
"eslint-plugin-node": "9.1.0",
@@ -99,12 +98,11 @@
"eslint-plugin-qunit": "^4.0.0",
"eslint-plugin-standard": "4.0.0",
"eslint-plugin-testcafe": "^0.2.1",
"eslint-plugin-unicorn": "^8.0.2",
"find-in-files": "^0.5.0",
"eslint-plugin-unicorn": "^9.1.0",
"imageoptim-cli": "^2.3.5",
"jamilih": "^0.44.0",
"jamilih": "^0.45.0",
"jsdoc": "^3.6.2",
"load-stylesheets": "^0.7.0",
"load-stylesheets": "^0.8.0",
"node-static": "^0.7.11",
"open-cli": "^5.0.0",
"promise-fs": "^2.1.0",
@@ -114,13 +112,13 @@
"regenerator-runtime": "^0.13.2",
"remark-cli": "^6.0.1",
"remark-lint-ordered-list-marker-value": "^1.0.2",
"rollup": "1.12.3",
"rollup": "1.15.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-terser": "^5.0.0",
"sinon": "^7.3.2",
"sinon-test": "^2.4.0",
"stackblur-canvas": "^2.2.0",
"testcafe": "^1.1.4"
"testcafe": "^1.2.1"
}
}