Skip to main content
Format question
Source Link
Ismael
  • 29.8k
  • 23
  • 55
  • 97

This is what helped me. In the file named .solhint.json, I replaced

{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } }

{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } } 

with this

{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } }

{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } } 

This is what helped me. In the file named .solhint.json, I replaced

{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } }

with this

{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } }

This is what helped me. In the file named .solhint.json, I replaced

{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } } 

with this

{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } } 
Source Link

This is what helped me. In the file named .solhint.json, I replaced

{ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], "func-visibility": ["warn", { "ignoreConstructors": true }] } }

with this

{ "extends": "solhint:recommended", "rules": { "compiler-version": "^0.6.0", "func-visibility": ["warn", { "ignoreConstructors": true }] } }