Commit 4b7b74e4 by github-actions

Transpile 65fef6ae

parent 9dbc72cd
{ {
"extends" : [ "extends" : [
"standard", "standard"
"plugin:promise/recommended",
], ],
"plugins": [ "plugins": [
"mocha-no-only", "mocha"
"promise",
], ],
"env": { "env": {
"browser" : true, "browser" : true,
...@@ -53,7 +51,7 @@ ...@@ -53,7 +51,7 @@
"semi": ["error", "always"], "semi": ["error", "always"],
"space-before-function-paren": ["error", "always"], "space-before-function-paren": ["error", "always"],
"mocha-no-only/mocha-no-only": ["error"], "mocha/no-exclusive-tests": ["error"],
"promise/always-return": "off", "promise/always-return": "off",
"promise/avoid-new": "off", "promise/avoid-new": "off",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -56,19 +56,16 @@ ...@@ -56,19 +56,16 @@
"@nomiclabs/hardhat-web3": "^2.0.0", "@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/docs-utils": "^0.1.0", "@openzeppelin/docs-utils": "^0.1.0",
"@openzeppelin/test-helpers": "^0.5.13", "@openzeppelin/test-helpers": "^0.5.13",
"@truffle/abi-utils": "^0.2.3",
"chai": "^4.2.0", "chai": "^4.2.0",
"eslint": "^6.5.1", "eslint": "^7.32.0",
"eslint-config-standard": "^14.1.1", "eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.20.0", "eslint-plugin-import": "^2.25.4",
"eslint-plugin-mocha-no-only": "^1.1.0", "eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-node": "^10.0.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^5.2.0",
"eslint-plugin-standard": "^4.0.1",
"eth-sig-util": "^3.0.0", "eth-sig-util": "^3.0.0",
"ethereumjs-util": "^7.0.7", "ethereumjs-util": "^7.0.7",
"ethereumjs-wallet": "^1.0.1", "ethereumjs-wallet": "^1.0.1",
"glob": "^7.2.0",
"graphlib": "^2.1.8", "graphlib": "^2.1.8",
"hardhat": "^2.0.6", "hardhat": "^2.0.6",
"hardhat-gas-reporter": "^1.0.4", "hardhat-gas-reporter": "^1.0.4",
......
...@@ -26,7 +26,7 @@ for (const artifact of artifacts) { ...@@ -26,7 +26,7 @@ for (const artifact of artifacts) {
graph.nodes().forEach((x, i, nodes) => nodes graph.nodes().forEach((x, i, nodes) => nodes
.slice(i + 1) .slice(i + 1)
.filter(y => graph.hasEdge(x, y) && graph.hasEdge(y, x)) .filter(y => graph.hasEdge(x, y) && graph.hasEdge(y, x))
.map(y => { .forEach(y => {
console.log(`Conflict between ${names[x]} and ${names[y]} detected in the following dependency chains:`); console.log(`Conflict between ${names[x]} and ${names[y]} detected in the following dependency chains:`);
linearized linearized
.filter(chain => chain.includes(parseInt(x)) && chain.includes(parseInt(y))) .filter(chain => chain.includes(parseInt(x)) && chain.includes(parseInt(y)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment