Linting errors + 'bench' not working on Windows#88
Open
joshq00 wants to merge 2 commits intoqiao:masterfrom
Open
Linting errors + 'bench' not working on Windows#88joshq00 wants to merge 2 commits intoqiao:masterfrom
joshq00 wants to merge 2 commits intoqiao:masterfrom
Conversation
Author
|
Mine is unset. But, either way, the regular expression will work, while the EOL assumes the files have the same line endings your os uses |
Collaborator
There was a problem hiding this comment.
What do smarttabs and trailing options do? I couldn't find them in the jshint docs.
Author
There was a problem hiding this comment.
Smart tabs: http://jshint.com/docs/faq/
Trailing: looks like this was removed with v2.5, it warned for trailing
whitespace on lines
On Sunday, February 1, 2015, Raminder Singh [email protected]
wrote:
In .jshintrc
#88 (comment):@@ -0,0 +1,17 @@
+{
- "browser": false,
- "node": true,
- "globals": {
- "require": true
- },
- "predef": {
- },
- "eqeqeq": true,
- "quotmark": true,
- "smarttabs": true,
- "trailing": true,
What do smarttabs and trailing options do? I couldn't find them in the
jshint docs.Reply to this email directly or view it on GitHub
https://github.com/qiao/PathFinding.js/pull/88/files#r23895774.
Collaborator
Author
|
? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.jshintrcbenchmark/parse_map.js'\r\n'on Windows. Changed to/\r?\n/toString, read file by utf8 encoding