Changes

Jump to navigation Jump to search
Line 26: Line 26:  
  sugar-lint -r .
 
  sugar-lint -r .
   −
To add pre-commit git hook to lint files before commiting arbitrary project:
+
To add pre-commit git hook to lint files before commiting to arbitrary project:
    
  ln -s ''<local-path>''/sugar/lint/git-pre-commit-hook ''<project-root>''/.git/hooks/pre-commit
 
  ln -s ''<local-path>''/sugar/lint/git-pre-commit-hook ''<project-root>''/.git/hooks/pre-commit

Navigation menu