UNPKG

closure-linter-wrapper

Version:

Node Wrapper to allow access to Google Closure Linter from NodeJS

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';