Browse Source

chore: added sol-coverage and sol-hint module

Kristjan Kosic 4 years ago
parent
commit
ee5aa47a96
5 changed files with 4076 additions and 4328 deletions
  1. 2 0
      hardhat.config.ts
  2. 4069 4325
      package-lock.json
  3. 3 1
      package.json
  4. 1 1
      test/NFTToken.ts
  5. 1 1
      test/Test-Suite.ts

+ 2 - 0
hardhat.config.ts

@@ -4,9 +4,11 @@
 
 import "@nomiclabs/hardhat-ethers";
 import "@nomiclabs/hardhat-etherscan";
+import "@nomiclabs/hardhat-solhint";
 import "@typechain/hardhat";
 import "dotenv/config";
 import "hardhat-deploy";
+import "solidity-coverage";
 
 import "./tasks/accounts";
 import "./tasks/balance";

File diff suppressed because it is too large
+ 4069 - 4325
package-lock.json


+ 3 - 1
package.json

@@ -23,6 +23,7 @@
     "devDependencies": {
         "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@0.3.0-beta.10",
         "@nomiclabs/hardhat-etherscan": "^2.1.4",
+        "@nomiclabs/hardhat-solhint": "^2.0.0",
         "@nomiclabs/hardhat-web3": "^2.0.0",
         "@openzeppelin/contracts": "^4.2.0",
         "@pinata/sdk": "^1.1.23",
@@ -34,8 +35,8 @@
         "babel-eslint": "^10.1.0",
         "chai": "^4.3.4",
         "chai-bignumber": "^3.0.0",
-        "chai-ethers": "^0.0.1",
         "chai-bn": "^0.3.0",
+        "chai-ethers": "^0.0.1",
         "dotenv": "^10.0.0",
         "ethers": "^5.4.3",
         "hardhat": "^2.5.0",
@@ -45,6 +46,7 @@
         "prettier-plugin-solidity": "^1.0.0-beta.17",
         "solhint": "^3.3.6",
         "solhint-plugin-prettier": "^0.0.5",
+        "solidity-coverage": "^0.7.16",
         "transform": "^1.1.2",
         "ts-generator": "^0.1.1",
         "ts-node": "^10.1.0",

+ 1 - 1
test/NFTToken.ts

@@ -1,5 +1,5 @@
 import { expect } from "chai";
-import { Signer, SignerWithAddress } from "ethers";
+import { Signer } from "ethers";
 import { deployments, ethers } from "hardhat";
 
 import { NFTToken, NFTToken__factory } from "../typechain";

+ 1 - 1
test/Test-Suite.ts

@@ -1,5 +1,5 @@
 import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/dist/src/signers";
-import { Contract, Signer } from "ethers";
+import { Contract } from "ethers";
 import { ethers } from "hardhat";
 
 import { expect } from "./chai-setup";

Some files were not shown because too many files changed in this diff