-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question concerning rules to enable #34
Comments
If I understand correctly, you're looking for a single flag which you could toggle in your configuration to enable/disable all rules, without having to specify them individually. Is that right? If yes, then currently it is not possible. I thought of enabling all security rules in the solium-all ruleset, but that forces enabling all style rules too. You're welcome to share how you imagine this could work in the configuration? you can add to the discussion on duaraghav8/Ethlint#252 |
Well, I was looking for a way to enable one or all rules disabled by default but I do not know how to do it in the configuration file. Cycl0pe |
To clarify, you cannot to that at the moment. You will have to specify all rules as enabled separately in your soliumrc. |
I do understand that but how do you enable one specific rule in .soliumrc.json? I did not find any documentation about it. Thanks |
The documentation is under Plugins https://ethlint.readthedocs.io/en/latest/user-guide.html#plugins {
"plugins": ["security"],
"rules": {
"security/rule-name": "error"
}
} |
Thanks for your help. I was missing the keyword "security". |
Hi,
I was wondering how you specify that you want to activate all the security rules (enabled and disabled rules by default) in .soliumrc.json file?
Cycl0pe
The text was updated successfully, but these errors were encountered: