duaraghav8 / Ethlint

(Formerly Solium) Code quality & Security Linter for Solidity
https://ethlint.readthedocs.io/en/latest/
MIT License
927 stars 128 forks source link

CLI: add --rule option #165

Open duaraghav8 opened 6 years ago

duaraghav8 commented 6 years ago

Similar to Eslint's --rule option - https://eslint.org/docs/user-guide/command-line-interface#--rule

mushketyk commented 6 years ago

I can implement this. Should the command with the --rule flat look like this:

./bin/solium.js --rule 'quotes: ["error", "double"]' --rule 'indentation": ["error", 4]' 
duaraghav8 commented 6 years ago

Yes, that is correct. Please let me know if you face any issues