Skip to content

Commit

Permalink
Remove relative path in solhint.config.js in favor of npm virtual pac…
Browse files Browse the repository at this point in the history
…kage (OpenZeppelin#5368)

Co-authored-by: Ernesto García <[email protected]>
  • Loading branch information
Amxx and ernestognw authored Dec 13, 2024
1 parent 77d4a73 commit a71f79f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion scripts/solhint-custom/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "solhint-plugin-openzeppelin",
"version": "0.0.0",
"private": true
"private": true,
"dependencies": {
"minimatch": "^3.1.2"
}
}
2 changes: 1 addition & 1 deletion solhint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const customRules = require('./scripts/solhint-custom');
const customRules = require('solhint-plugin-openzeppelin');

const rules = [
'avoid-tx-origin',
Expand Down

0 comments on commit a71f79f

Please sign in to comment.