Platform Team/Sugar Lint: Difference between revisions

Line 27: Line 27:


  sugar-lint -r .
  sugar-lint -r .
If fails were detected, call diff command (by default {{Code|vimdiff}} or {{Code|DIFFER}} environment variable value) to diff the source file and temporary file with comments in problematic places:
sugar-lint -d ''<file>''


== Lint files before commiting ==
== Lint files before commiting ==