From 7fd288960f46ec6abcb59c985963312d685987a1 Mon Sep 17 00:00:00 2001 From: Hadrien Croubois Date: Fri, 13 Dec 2024 11:57:29 +0100 Subject: [PATCH 1/3] remove relative path in solhint.config.js in favor of npm virtual package --- solhint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solhint.config.js b/solhint.config.js index f0bd7994f97..47c1cebfe25 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', From 0fdf7354a700cd84669fb4ad74c38c876e67ab5f Mon Sep 17 00:00:00 2001 From: Hadrien Croubois Date: Fri, 13 Dec 2024 16:28:51 +0100 Subject: [PATCH 2/3] add missing dependency --- scripts/solhint-custom/package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/solhint-custom/package.json b/scripts/solhint-custom/package.json index 075eb929dea..ce9690d74ef 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" + } } From fc84c7acb7fde6f92d1d0c5d0b13b98855d9936a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= Date: Fri, 13 Dec 2024 10:35:44 -0600 Subject: [PATCH 3/3] Update package-lock.json --- package-lock.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 79968635cd5..900b5884548 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" + } } } }