UNPKG

google-closure-linter

Version:

NPM wrapper for Google Closure Linter command-line tools, for when you want to add a python dependency but not a pip dependency.

22 lines (18 loc) 343 B
// Correct dot placement: var x = window.some() .method() .calls(); // Wrong dots: window. some(). // With a comment in between. method(). calls(); // Wrong plus operator: var y = 'hello' + 'world' // With a comment in between. + '!'; // Correct plus operator (untouched): var y = 'hello' + 'world';