mirror of
https://github.com/luxfhe/research-ocp-fhe.git
synced 2026-11-03 06:05:38 +00:00
39 lines
1.5 KiB
JSON
39 lines
1.5 KiB
JSON
{
|
|
"solidity.packageDefaultDependenciesDirectory": "chain/lib",
|
|
"solidity.packageDefaultDependenciesContractsDirectory": "chain/src",
|
|
"solidity.formatter": "forge",
|
|
"solidity.compileUsingRemoteVersion": "v0.8.20",
|
|
"solidity.remappings": ["@openzeppelin/=chain/lib/openzeppelin-contracts/", "@diamond/=chain/src/lib/diamond/"],
|
|
"solidity.linter": "solhint",
|
|
"solidity.enabledAsYouTypeCompilationErrorCheck": true,
|
|
"editor.formatOnSave": true,
|
|
"[solidity]": {
|
|
"editor.defaultFormatter": "JuanBlanco.solidity",
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "always",
|
|
"source.fixAll.solhint": "always"
|
|
},
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": true
|
|
},
|
|
"solidity.solhintRules": {
|
|
"extends": "solhint:recommended",
|
|
"rules": {
|
|
"compiler-version": ["error", "^0.8.0"],
|
|
"func-visibility": ["error", { "ignoreConstructors": true }],
|
|
"not-rely-on-time": "off",
|
|
"no-empty-blocks": "warn",
|
|
"max-line-length": ["warn", 145],
|
|
"reason-string": ["warn", { "maxLength": 145 }],
|
|
"state-visibility": "error",
|
|
"var-name-mixedcase": "warn",
|
|
"func-name-mixedcase": "warn",
|
|
"private-vars-leading-underscore": ["warn", { "strict": false }],
|
|
"ordering": "warn",
|
|
"reentrancy": "error",
|
|
"avoid-low-level-calls": "warn",
|
|
"operator-whitespace": "off"
|
|
}
|
|
}
|
|
}
|