Skip to content

Commit 618304c

Browse files
Update linters (major) (#4563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <fg@frang.io>
1 parent 05205ab commit 618304c

File tree

3 files changed

+93
-23
lines changed

3 files changed

+93
-23
lines changed

Diff for: .prettierrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
"singleQuote": false
1111
}
1212
}
13-
]
13+
],
14+
"plugins": ["prettier-plugin-solidity"]
1415
}

Diff for: package-lock.json

+85-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"prepare-docs": "scripts/prepare-docs.sh",
1616
"lint": "npm run lint:js && npm run lint:sol",
1717
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
18-
"lint:js": "prettier --loglevel warn --ignore-path .gitignore '**/*.{js,ts}' --check && eslint --ignore-path .gitignore .",
19-
"lint:js:fix": "prettier --loglevel warn --ignore-path .gitignore '**/*.{js,ts}' --write && eslint --ignore-path .gitignore . --fix",
20-
"lint:sol": "prettier --loglevel warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --check && solhint '{contracts,test}/**/*.sol'",
21-
"lint:sol:fix": "prettier --loglevel warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --write",
18+
"lint:js": "prettier --log-level warn --ignore-path .gitignore '**/*.{js,ts}' --check && eslint --ignore-path .gitignore .",
19+
"lint:js:fix": "prettier --log-level warn --ignore-path .gitignore '**/*.{js,ts}' --write && eslint --ignore-path .gitignore . --fix",
20+
"lint:sol": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --check && solhint '{contracts,test}/**/*.sol'",
21+
"lint:sol:fix": "prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --write",
2222
"clean": "hardhat clean && rimraf build contracts/build",
2323
"prepare": "scripts/prepare.sh",
2424
"prepack": "scripts/prepack.sh",
@@ -63,7 +63,7 @@
6363
"array.prototype.at": "^1.1.1",
6464
"chai": "^4.2.0",
6565
"eslint": "^8.30.0",
66-
"eslint-config-prettier": "^8.5.0",
66+
"eslint-config-prettier": "^9.0.0",
6767
"eth-sig-util": "^3.0.0",
6868
"ethereumjs-util": "^7.0.7",
6969
"ethereumjs-wallet": "^1.0.1",
@@ -79,7 +79,7 @@
7979
"merkletreejs": "^0.2.13",
8080
"micromatch": "^4.0.2",
8181
"p-limit": "^3.1.0",
82-
"prettier": "^2.8.1",
82+
"prettier": "^3.0.0",
8383
"prettier-plugin-solidity": "^1.1.0",
8484
"rimraf": "^3.0.2",
8585
"semver": "^7.3.5",

0 commit comments

Comments
 (0)