Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 
The checkstyle tool is provided to help Dojo developers conform to the Dojo style guides.

Read the help by running the command:
	checkstyle.sh help
or
	checkstyle.bat.help
	
If you want to use the checkstyleReport.html tool to fix style errors and save the files,
make a copy of the file 'checkstyle.php.rename.html', and call it 'checkstyle.php'.
This script will then be used to save fixed files.

All fixed files end in '.checkstyle.js', e.g. dojo/back.js.checkstyle.js.
Cnce you are satisfied with the changes, commit them all by typing:
	checkstyle.sh commit
	
	
Troubleshooting
---------------
1. It says the file was saved but nothing was saved

	Use firebug's NET tab to see the result return from the checkstyle.php call.   If it's a
	permission denied error, probably your webserver is running as a different user and
	can't write into your workspace.   I solved this problem by doing:
	
	$ find . -type d -exec chmod 777 {} \;

	from the root of my project.   Probably there's a better way.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.