Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vittominacori committed Feb 10, 2022
1 parent ac502e1 commit 48355eb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .editorconfig
Expand Up @@ -8,7 +8,8 @@ charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
trim_trailing_whitespace = false
max_line_length = 120

[*.sol]
indent_size = 4
Expand Down
7 changes: 3 additions & 4 deletions .prettierrc
@@ -1,13 +1,12 @@
{
"singleQuote": true,
"trailingComma": "all",
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false,
"printWidth": 120,
"explicitTypes": "always"
}
}
Expand Down
12 changes: 10 additions & 2 deletions .solhint.json
@@ -1,6 +1,14 @@
{
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
"no-unused-vars": "error",
"const-name-snakecase": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": "error",
"var-name-mixedcase": "error",
"imports-on-top": "error"
}
}
24 changes: 12 additions & 12 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "eth-token-recover",
"version": "4.4.2",
"version": "4.5.0",
"description": "TokenRecover allows the contract owner to recover any ERC20 token sent into the contract for error",
"files": [
"contracts",
Expand All @@ -20,9 +20,9 @@
"profile": "npm run clean && npm run coverage && open coverage/index.html",
"lint": "npm run lint:js && npm run lint:sol",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
"lint:js": "eslint --ignore-path .gitignore .",
"lint:js:fix": "eslint --ignore-path .gitignore . --fix",
"lint:sol": "solhint 'contracts/**/*.sol' && prettier -c 'contracts/**/*.sol'",
"lint:sol:fix": "prettier --write \"contracts/**/*.sol\"",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
Expand All @@ -46,30 +46,30 @@
},
"homepage": "https://github.com/vittominacori/eth-token-recover",
"dependencies": {
"@openzeppelin/contracts": "4.4.2"
"@openzeppelin/contracts": "4.5.0"
},
"devDependencies": {
"@nomiclabs/hardhat-ganache": "^2.0.1",
"@nomiclabs/hardhat-truffle5": "^2.0.3",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/test-helpers": "^0.5.15",
"@vuepress/plugin-google-analytics": "^1.8.2",
"chai": "^4.3.4",
"@vuepress/plugin-google-analytics": "^1.9.7",
"chai": "4.3.4",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-standard": "^5.0.0",
"ganache-cli": "^6.12.2",
"hardhat": "^2.8.0",
"hardhat": "^2.8.3",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"truffle": "^5.4.24",
"vuepress": "^1.8.2"
"solidity-coverage": "^0.7.19",
"truffle": "^5.4.32",
"vuepress": "^1.9.7"
}
}

0 comments on commit 48355eb

Please sign in to comment.