From 2de6b59757e0dd7f467d7549074329391a5d671f Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Fri, 3 Sep 2021 14:58:51 +0300 Subject: [PATCH] chore: delete stale ganache id in chainsIds chore: add double quotes in value fields in .eslintrc.yaml chore: remove "run" from yarn scripts in package.json --- .eslintrc.yaml | 4 ++-- hardhat.config.ts | 1 - package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 5a9219f0..27672a35 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -17,5 +17,5 @@ rules: "@typescript-eslint/no-inferrable-types": "off" "@typescript-eslint/no-unused-vars": - error - - argsIgnorePattern: _ - varsIgnorePattern: _ + - argsIgnorePattern: "_" + varsIgnorePattern: "_" diff --git a/hardhat.config.ts b/hardhat.config.ts index 98baff44..3411a2b9 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -16,7 +16,6 @@ import { NetworkUserConfig } from "hardhat/types"; dotenvConfig({ path: resolve(__dirname, "./.env") }); const chainIds = { - ganache: 1337, goerli: 5, hardhat: 31337, kovan: 42, diff --git a/package.json b/package.json index 6f6aa420..8ed9d714 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile", "coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"", "deploy": "hardhat deploy:Greeter", - "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:check", + "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check", "lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"", "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .", "postinstall": "husky install",