|
55 | 55 | "eslint-plugin-promise": "^5.0.0",
|
56 | 56 | "eslint-plugin-standard": "^4.1.0",
|
57 | 57 | "ethereum-waffle": "^3.3.0",
|
58 |
| - "ethlint": "^1.2.5", |
59 | 58 | "graphql-tag": "^2.12.4",
|
60 | 59 | "hardhat": "^2.2.0",
|
61 | 60 | "hardhat-abi-exporter": "^2.2.0",
|
|
72 | 71 | "p-queue": "^6.6.1",
|
73 | 72 | "prettier": "^2.2.1",
|
74 | 73 | "prettier-plugin-solidity": "^1.0.0-beta.9",
|
| 74 | + "solhint": "^3.3.6", |
| 75 | + "solhint-plugin-prettier": "^0.0.5", |
75 | 76 | "solidity-coverage": "^0.7.16",
|
76 | 77 | "ts-generator": "^0.1.1",
|
77 | 78 | "ts-node": "^9.1.1",
|
|
98 | 99 | "lint": "yarn lint:ts && yarn lint:sol",
|
99 | 100 | "lint:fix": "yarn lint:ts:fix && yarn lint:sol:fix",
|
100 | 101 | "lint:ts": "eslint '*/**/*.{js,ts}'",
|
101 |
| - "lint:ts:fix": "eslint '*/**/*.{js,ts}' --fix", |
102 |
| - "lint:sol": "solium --dir ./contracts", |
103 |
| - "lint:sol:fix": "solium --dir ./contracts --fix", |
| 102 | + "lint:ts:fix": "prettier:ts && eslint '*/**/*.{js,ts}' --fix", |
| 103 | + "lint:sol": "solhint './contracts/**/*.sol'", |
| 104 | + "lint:sol:fix": "yarn prettier:sol && solhint --fix './contracts/**/*.sol'", |
104 | 105 | "prettier": "yarn prettier:ts && yarn prettier:sol",
|
105 | 106 | "prettier:ts": "prettier --write 'test/**/*.ts'",
|
106 |
| - "prettier:sol": "prettier --write 'contracts/*.sol'", |
| 107 | + "prettier:sol": "prettier --write 'contracts/**/*.sol'", |
107 | 108 | "analyze": "scripts/analyze",
|
108 | 109 | "myth": "scripts/myth",
|
109 | 110 | "flatten": "scripts/flatten && scripts/clean",
|
|
0 commit comments