This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
jscs looking in .git folder #1707
Labels
Comments
If @markelog agrees, then would you be open to submitting a PR? We could use the help. |
+1 :) |
Ignore all dot directories or |
im going to create pr with ignoring all dot folders, is it ok? |
Nuh, #241 |
iamstarkov
added a commit
to iamstarkov/node-jscs
that referenced
this issue
Aug 20, 2015
It seems we need to always ignore |
imo, the same for node_modules |
but its another issue |
It is different way of solving it |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Found a weird issue when running jscs on my code. It appears that
jscs .
will look in dot-directories by default (for example.git
). The error was triggered because my branch name ends in .js and jscs therefore tried to parse/.git/logs/refs/heads/branch.js
.The example can be found at: https://github.com/bstream/jscs-js-branchname/tree/branch.js
This error can be fixed by supplying ".git" to the "excludeFiles"-list in
.jscsrc
, or by supplying the specific folders and files to be tested as arguments to jscs. However, maybe jscs should ignore hidden files by default? (Which is the case with for example ESLint, see eslint/eslint#1077)The text was updated successfully, but these errors were encountered: