Skip to content

Commit

Permalink
add solhintignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Caignec committed Jan 28, 2025
1 parent 042f325 commit ff36e32
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 19 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.yml
*json
*.md
./contracts/hardhat-dependency-compiler/
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-solidity"
],
"overrides": [
{
"files": "*.sol",
"options": {
"singleQuote": false
}
}
]
}
20 changes: 20 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": [
"solhint:recommended"
],
"plugins": [],
"rules": {
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"quotes": [
"error",
"double"
],
"imports-order": "warn",
"compiler-version": "warn"
}
}
1 change: 1 addition & 0 deletions .solhintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hardhat-dependency-compiler
19 changes: 0 additions & 19 deletions solhint.json

This file was deleted.

0 comments on commit ff36e32

Please sign in to comment.