Skip to content

Commit a71f79f

Browse files
Amxxernestognw
andauthored
Remove relative path in solhint.config.js in favor of npm virtual package (#5368)
Co-authored-by: Ernesto García <[email protected]>
1 parent 77d4a73 commit a71f79f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

package-lock.json

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

scripts/solhint-custom/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"name": "solhint-plugin-openzeppelin",
33
"version": "0.0.0",
4-
"private": true
4+
"private": true,
5+
"dependencies": {
6+
"minimatch": "^3.1.2"
7+
}
58
}

solhint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const customRules = require('./scripts/solhint-custom');
1+
const customRules = require('solhint-plugin-openzeppelin');
22

33
const rules = [
44
'avoid-tx-origin',

0 commit comments

Comments
 (0)