Skip to content

Commit

Permalink
chore: fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed May 27, 2022
1 parent 7874197 commit b5d67f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"modifier-name-mixedcase": "warn",
"no-empty-blocks": "off",
"no-inline-assembly": "off",
"not-rely-on-time": "off",
"reason-string": [
"warn",
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"clean:flattened": "node ./scripts/clean.js flattened/",
"compile": "npm run clean && npm run compile:contracts",
"compile:requests": "npx rad2sol --disable-requests-contracts --disable-witnet-migrations --disable-user-contracts-migrations",
"compile:contracts": "npx truffle compile --all --config truffle-config.flattened.js",
"compile:contracts": "npx truffle compile --all",
"coverage": "solidity-coverage",
"flatten": "npm run clean:flattened && node ./scripts/flatten.js contracts/ 2>&1 && node ./scripts/flatten.js contracts/routed/ 2>&1",
"fmt": "solhint --max-warnings 0 \"contracts/**/*.sol\" && eslint ./test && eslint ./scripts/*.js && solhint \"test/**/*.sol\"",
Expand Down
5 changes: 0 additions & 5 deletions scripts/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@

require("dotenv").config()

const fs = require("fs")
const os = require("os")

const settings = require("../migrations/settings")
const templateScript = "migrations.template.js"
const outputScript = "1_deploy.js"

if (process.argv.length < 3) {
console.log()
Expand Down

0 comments on commit b5d67f4

Please sign in to comment.