Quellcode durchsuchen

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
Paul Razvan Berg vor 4 Jahren
Ursprung
Commit
2de6b59757
3 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
  1. 2 2
      .eslintrc.yaml
  2. 0 1
      hardhat.config.ts
  3. 1 1
      package.json

+ 2 - 2
.eslintrc.yaml

@@ -17,5 +17,5 @@ rules:
   "@typescript-eslint/no-inferrable-types": "off"
   "@typescript-eslint/no-inferrable-types": "off"
   "@typescript-eslint/no-unused-vars":
   "@typescript-eslint/no-unused-vars":
     - error
     - error
-    - argsIgnorePattern: _
-      varsIgnorePattern: _
+    - argsIgnorePattern: "_"
+      varsIgnorePattern: "_"

+ 0 - 1
hardhat.config.ts

@@ -16,7 +16,6 @@ import { NetworkUserConfig } from "hardhat/types";
 dotenvConfig({ path: resolve(__dirname, "./.env") });
 dotenvConfig({ path: resolve(__dirname, "./.env") });
 
 
 const chainIds = {
 const chainIds = {
-  ganache: 1337,
   goerli: 5,
   goerli: 5,
   hardhat: 31337,
   hardhat: 31337,
   kovan: 42,
   kovan: 42,

+ 1 - 1
package.json

@@ -68,7 +68,7 @@
     "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
     "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\"",
     "coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
     "deploy": "hardhat deploy:Greeter",
     "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:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
     "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
     "lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
     "postinstall": "husky install",
     "postinstall": "husky install",