diff --git a/.eslintrc b/.eslintrc index 5790091a..8c67a3d3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -3,19 +3,19 @@ "browser": false, "es2021": true, "mocha": true, - "node": true, + "node": true }, "plugins": ["@typescript-eslint"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", - "prettier", + "prettier" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 12, - "project": ".eslint-tsconfig", + "project": ".eslint-tsconfig" }, "root": true, "rules": { @@ -23,16 +23,16 @@ "error", { "ignoreIIFE": true, - "ignoreVoid": true, - }, + "ignoreVoid": true + } ], "@typescript-eslint/no-inferrable-types": "off", "@typescript-eslint/no-unused-vars": [ "error", { "argsIgnorePattern": "_", - "varsIgnorePattern": "_", - }, + "varsIgnorePattern": "_" + } ], "spaced-comment": [ "error", @@ -40,7 +40,7 @@ { "line": { "exceptions": ["-", "+"], - "markers": ["=", "!", "/"], + "markers": ["=", "!", "/"] }, "block": { "exceptions": ["-", "+"], diff --git a/.prettierignore b/.prettierignore index 5f82bfc4..aa66fcd1 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,3 +6,4 @@ gasReporterOutput.json dist typechain contracts/third-party +*.hbs diff --git a/hardhat.config.ts b/hardhat.config.ts index c5e73e8b..c70e7981 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -168,24 +168,24 @@ const config: HardhatUserConfig = { function isFork() { return process.env.FORK === "true" ? { - allowUnlimitedContractSize: false, - loggingEnabled: false, - forking: { - url: - process.env[`ARCHIVE_NODE_${process.env.FORKED_NETWORK}`] || - "https://data-seed-prebsc-1-s1.binance.org:8545", - blockNumber: 21068448, - }, - accounts: { - accountsBalance: "1000000000000000000", - }, - live: false, - } + allowUnlimitedContractSize: false, + loggingEnabled: false, + forking: { + url: + process.env[`ARCHIVE_NODE_${process.env.FORKED_NETWORK}`] || + "https://data-seed-prebsc-1-s1.binance.org:8545", + blockNumber: 21068448, + }, + accounts: { + accountsBalance: "1000000000000000000", + }, + live: false, + } : { - allowUnlimitedContractSize: true, - loggingEnabled: false, - live: false, - }; + allowUnlimitedContractSize: true, + loggingEnabled: false, + live: false, + }; } export default config;