fix ec configurations
update formatter rule
add best practice to README.md