Remove relative path in solhint.config.js in favor of npm virtual package (#5368)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
pull/5372/head
Hadrien Croubois 2 months ago committed by GitHub
parent 77d4a73c87
commit a71f79fbbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      package-lock.json
  2. 5
      scripts/solhint-custom/package.json
  3. 2
      solhint.config.js

5
package-lock.json generated

@ -12203,7 +12203,10 @@
"scripts/solhint-custom": {
"name": "solhint-plugin-openzeppelin",
"version": "0.0.0",
"dev": true
"dev": true,
"dependencies": {
"minimatch": "^3.1.2"
}
}
}
}

@ -1,5 +1,8 @@
{
"name": "solhint-plugin-openzeppelin",
"version": "0.0.0",
"private": true
"private": true,
"dependencies": {
"minimatch": "^3.1.2"
}
}

@ -1,4 +1,4 @@
const customRules = require('./scripts/solhint-custom');
const customRules = require('solhint-plugin-openzeppelin');
const rules = [
'avoid-tx-origin',

Loading…
Cancel
Save