Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIrregular whitespace not allowed #392
Comments
This comment has been minimized.
This comment has been minimized.
|
Seems this is caused by #283 and Visual Studio automatically adding in the BEM character at the start of the file. I have installed and extension (https://vlasovstudio.com/fix-file-encoding/) to fix this. |
dylanparry
closed this
Jan 27, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
dylanparry commentedJan 27, 2016
Hi,
I’m getting the error “Irregular whitespace not allowed” when I run standard on any of my files. I’ve created a project in VS2015, and am running my scripts via Task Runner Explorer and the NPM scripts extension—I run all my scripts this way, and have no problems with Webpack etc.
I’ve set up a script in my package.json to run standard against all JS/JSX files in my JavaScript directory, and using the babel-eslint parser. All my files are using ES6/ES7 syntax.
The error occurs for any file that I run it against. I’ve tried running it on specific files, and they all get the same error.
Any ideas?