ignoring jshint Unnecessary semicolon error - jshint

I am using jshint which gives me the error "Unnecessary semicolon".
I do not control the file in question and I would like to ignore this error.
I am not able to find any such option on the jshint doc page

Turns out you can ignore any error message by setting an option for specific error numbers:
"-W032": true

Related

How to hide warning and show errors only in Stylelint linting result?

Stylelint has this option "severity": "warning" to changed errors to warnings. Is it possible to hide warnings from output temporarily? because I want to fix some errors and because of lots of warnings, it takes a long time to reach to error instances
I believe you are looking for the quiet option which suppress "warnings"
https://github.com/stylelint/stylelint/blob/master/lib/cli.js#L257-L260
--quiet, -q
Only register warnings for rules with an "error"-level severity (ignore
"warning"-level).
I believe you have a choice:
Turn off the rules using null.
Write a custom formatter that does not display warnings.

Unexpected token ILLEGAL in concatenated CSS file

I'm getting the following error in the Chrome console:
Uncaught SyntaxError: Unexpected token ILLEGAL
At the start of my concatenated CSS file:
#import url("http://fonts.googleapis.com/css?family=Raleway:300,400,600")
This line ends up on its own, and it's specifically this line that throws the error:
I've had a look around and it seems this error should relate to invisible characters making their way into the code. Unfortunately in my case that doesn't seem to be true. I've even deleted this portion of code and re-written it by hand to make sure - no difference.
I use Stylus (with gulp) and the resulting compile is naturally what throws the error - is this maybe an issue with gulp-stylus? I've looked at the compiled code and can't track down any invisible characters there either…
Does anything else throw this error?
The error implies you are trying to load the style sheet with <script> instead of <link rel=stylesheet>.
CSS is not JavaScript and can't be treated as such.

Fatal error: UnCSS: could not open

I'm trying to remove all of the unused css in the framework I'm using by using uncss. But when I try I get the error:
file:///C:/Users/Angus/Desktop/FTTL%20website%20submit/index.html:15 in onload
Fatal error: UnCSS: could not open C:\Users\Angus\Desktop\FTTL website%20submit\css\main.css
Does anyone know why this is?
Iyou forget to handle the first space properly (FTTL website%20submit) in the path, if you change the folder name or escape it properly (like FTTL%20website%20submit) it might work.
Edit: Or the other way around and the %20 substitution for the path was not working for the second space. (I am not familiar with uncss.)
(In my opinion it is best not using spaces in file and folder names.)

A pyinstller error: IOError

When I use pyinstaller I met a problem that I don't know how to solve:
IOError:[Errno 22]: invalid mode &lt'wb'&gt or
filename:'C:Users\\AppData\\Local\\Temp;D:\\academic software\\python\\me_test_exe.tmp'
This might be because of the space in the file path. Try renaming the directory
'academic software' to 'academic_software'.
If this solves the error, this is a bad piece of code :).

TextMate's default CSS bundle throws an error when trying to use code complete

I like code complete for CSS because sometimes I forget what values are available for a property. Unfortunately it seems that TextMate's default CSS bundle errors when trying to use it's implementation of Code Complete.
The error it generates is...
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:319:in /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of filemap' for nil:NilClass (NoMethodError)
from /tmp/temp_textmate.U2Q62Q:11
...any help would be greatly appreciated.
I've Google'd everywhere and can't find an actual solution!
M.
Have you redownloaded the CSS bundle?
Did you try reinstalling Textmate (redownloading the .app and dragging it. It shouldn't remove your previous settings.)

Resources