Lint code before save into file

Lint code before save into file.

resolve #609
is it expected to use the same value ?