We write about Ruby on Rails, React.js, React Native, remote work, open source, engineering and design.
1var select_col1 = $("<select></select>") 2 .addClass("ram_drop_down") 3 .addClass("ram_drop_down_col1") 4 .attr("name", "adv_search[" + random_num + "_row][col1]") 5 .attr("id", random_num + "_ram_drop_down_col1");
1unexpected end of line. It is ambiguous whether these lines are part of the same statement.
1before: +ambiguous_newline 2after: -ambiguous_newline
Also I had to comment out
+process jsl-test.js at the very bottom. Now tell your plugin to use this configuration file rather than the default one. Add the following line to your vimrc file.
1let jslint_command_options = '-conf "/Users/neeraj/vim/plugin/jslint/jsl.custom.conf" -nofilelisting -nocontext -nosummary -nologo -process'
This is the vim settings I use and it has been configured to take care of it. Just go to
vimrc.local and change the path to your config file. Also don't forget to remove
" at the beginning of the line to uncomment it.