Replace assign/clone helpers with object spread syntax.

This commit is contained in:
David Anson 2019-05-05 22:27:01 -07:00
parent 684416a902
commit 1b8b15693f
6 changed files with 51 additions and 55 deletions

View file

@ -13,7 +13,7 @@
"bugs": "https://github.com/DavidAnson/markdownlint/issues",
"scripts": {
"test": "nodeunit test/markdownlint-test.js",
"test-cover": "istanbul cover node_modules/nodeunit/bin/nodeunit test/markdownlint-test.js",
"test-cover": "nyc node_modules/nodeunit/bin/nodeunit test/markdownlint-test.js",
"test-extra": "nodeunit test/markdownlint-test-extra.js",
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
"lint": "eslint lib helpers test schema && eslint --env browser --global markdownit --global markdownlint --rule \"no-unused-vars: 0, no-extend-native: 0, max-statements: 0, no-console: 0, no-var: 0\" demo && eslint --rule \"no-console: 0, no-invalid-this: 0, no-shadow: 0, object-property-newline: 0\" example",
@ -34,7 +34,6 @@
"cpy-cli": "~2.0.0",
"eslint": "~5.15.3",
"glob": "~7.1.3",
"istanbul": "~0.4.5",
"js-yaml": "~3.13.0",
"markdown-it-for-inline": "~0.1.1",
"markdown-it-katex": "~2.0.3",
@ -42,6 +41,7 @@
"markdown-it-sup": "~1.0.0",
"markdownlint-rule-helpers": "~0.1.0",
"nodeunit": "~0.11.3",
"nyc": "~14.1.0",
"rimraf": "~2.6.3",
"toml": "~3.0.0",
"tv4": "~1.3.0",