Fixed bullet list of jsLint checkings
diff --git a/JavascriptRefactoring.wiki b/JavascriptRefactoring.wiki index 948f297..071b572 100644 --- a/JavascriptRefactoring.wiki +++ b/JavascriptRefactoring.wiki
@@ -40,25 +40,25 @@ In practice: -* check for use of == and != (always use === and !==) -* check if immediate function calling are surrounded by parenthesis -* disallow uncorrect breaking of lines -* assumes a browser -* prevent undefined variables -* check whitespaces before an anonymous function calling -* check if there are 2 whitespaces per indentation -* ignores {{{ window }} and {{{ jQuery }}} being global variables -* do not tolerate use of {{{ eval }}} statement -* do not tolerate unfiltered {{{ for...in }}} statements + * check for use of == and != (always use === and !==) + * check if immediate function calling are surrounded by parenthesis + * disallow uncorrect breaking of lines + * assumes a browser + * prevent undefined variables + * check whitespaces before an anonymous function calling + * check if there are 2 whitespaces per indentation + * ignores {{{ window }} and {{{ jQuery }}} being global variables + * do not tolerate use of {{{ eval }}} statement + * do not tolerate unfiltered {{{ for...in }}} statements If you want to check your code copying and pasting in the [http://www.jslint.com/ online version of jsLint] (you will receive more useful infos as output), set the following [http://www.jslint.com/#options jsLint options]: -* Strict white space -* Assume a browser -* Disallow undefined variables -* Disallow {{{ == }}} and {{{ != }}} -* Require parens around immediate invocation -* Strict white space indentation: set it to *2* + * Strict white space + * Assume a browser + * Disallow undefined variables + * Disallow {{{ == }}} and {{{ != }}} + * Require parens around immediate invocation + * Strict white space indentation: set it to *2* ==jsUnit==