diff --git a/package-lock.json b/package-lock.json index 79968635c..900b58845 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12203,7 +12203,10 @@ "scripts/solhint-custom": { "name": "solhint-plugin-openzeppelin", "version": "0.0.0", - "dev": true + "dev": true, + "dependencies": { + "minimatch": "^3.1.2" + } } } } diff --git a/scripts/solhint-custom/package.json b/scripts/solhint-custom/package.json index 075eb929d..ce9690d74 100644 --- a/scripts/solhint-custom/package.json +++ b/scripts/solhint-custom/package.json @@ -1,5 +1,8 @@ { "name": "solhint-plugin-openzeppelin", "version": "0.0.0", - "private": true + "private": true, + "dependencies": { + "minimatch": "^3.1.2" + } } diff --git a/solhint.config.js b/solhint.config.js index f0bd7994f..47c1cebfe 100644 --- a/solhint.config.js +++ b/solhint.config.js @@ -1,4 +1,4 @@ -const customRules = require('./scripts/solhint-custom'); +const customRules = require('solhint-plugin-openzeppelin'); const rules = [ 'avoid-tx-origin',