Need to extend JSLint

Jun 18, 2012 at 2:18 PM

I have downloaded the JSLint Source Code. I want to extend the extension. I want to put a spell check around the variable names declared.

For e.g. var confirmationRecvied;

In this case the variable name should be confirmationReceived. I want to code a rule in JSLint which would this validation, however I have no clue where do I add my custom code.

I am looking for some help and some documentation wherein I can extend this tool for checking such spelling mistakes. Can someone please guide me as to how this can be achieved.

Any help on this will be highly appreciated.



Sep 23, 2012 at 6:55 PM

I would have a look at the extensions that already exist for spell checking. If you still want to do it yourself, I recommend learning from our extension but then creating it seperately.. not sure it makes sense to include it.