mirror of
https://github.com/vacp2p/foundry-template.git
synced 2025-02-18 02:06:26 +00:00
build: remove "prettier-plugin-solidity" and "solhint-plugin-prettier" deps chore: add "fmt" configuration in Foundry config chore: delete solidity override from Prettier rules chore: delete solidity rules from Solhint config chore: modify scripts to run Prettier on all files except "*.sol" test: document "setUp" function
12 lines
327 B
JSON
12 lines
327 B
JSON
{
|
|
"extends": "solhint:recommended",
|
|
"rules": {
|
|
"code-complexity": ["error", 8],
|
|
"compiler-version": ["error", ">=0.8.4"],
|
|
"func-visibility": ["error", { "ignoreConstructors": true }],
|
|
"max-line-length": ["error", 120],
|
|
"not-rely-on-time": "off",
|
|
"reason-string": ["warn", { "maxLength": 64 }]
|
|
}
|
|
}
|