-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no such file or directory #5
Comments
As a workaround i used inline template with new line symbols "notice/notice": [
"error",
{
"mustMatch":
"[0-9]{0,4} All rights reserved.",
"template":
"/**\n * Copyright (C) <%= YEAR %> All rights reserved.\n */\n",
"nonMatchingTolerance": ".70"
}
] 🚃 |
Hey Vytenis, |
Other plugins are using strange solutions for this problem |
Ahhh I see the issue now. Thank you for all your input/help. |
@nickdeis - yes do it, I tried with no success. Did't know allot stuff about eslint API. And to write tests for this would be imposible for me :) |
I think I have to use package.json, eslint has too many config formats, and they are expanding them in the future. |
Summary: Will try to use the filename of the source to search for the root, will print a more useful error message on failure
Alright, I hopefully fixed the issue in version 0.6.6, but if not, the error messages should be more useful. |
Thanks. I will test it |
works |
Thank you! |
Error while loading rule 'notice/notice'/mnt/SSD/Projects/.../src/modules/searchModule.js:: ENOENT/mnt/SSD/Projects/.../src/modules/searchModule.js:: no such file or directory, open 'config/copyright.js'
And yes - the file is under the root folder in config directory
The text was updated successfully, but these errors were encountered: