{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/3720","labels_url":"https://api.github.com/repos/eslint/eslint/issues/3720/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/3720/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/3720/events","html_url":"https://github.com/eslint/eslint/issues/3720","id":105833079,"number":3720,"title":"Ignore warning when file in linked folder","user":{"login":"roadhump","id":234692,"avatar_url":"https://avatars.githubusercontent.com/u/234692?v=3","gravatar_id":"","url":"https://api.github.com/users/roadhump","html_url":"https://github.com/roadhump","followers_url":"https://api.github.com/users/roadhump/followers","following_url":"https://api.github.com/users/roadhump/following{/other_user}","gists_url":"https://api.github.com/users/roadhump/gists{/gist_id}","starred_url":"https://api.github.com/users/roadhump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadhump/subscriptions","organizations_url":"https://api.github.com/users/roadhump/orgs","repos_url":"https://api.github.com/users/roadhump/repos","events_url":"https://api.github.com/users/roadhump/events{/privacy}","received_events_url":"https://api.github.com/users/roadhump/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/accepted","name":"accepted","color":"0052cc"},{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-09-10T15:24:31Z","updated_at":"2015-11-03T01:28:00Z","closed_at":null,"body":"I have a linked folder in project. \r\n\r\n```\r\n~/Projects/ttt tree -f\r\n.\r\n├── ./1.js\r\n├── ./bzzz -> ../LINKED\r\n└── ./xxx\r\n    └── ./xxx/3.js\r\n\r\n2 directories, 2 files\r\n```\r\n\r\nSo, when I lint file in linked dir, I get an ignore warning\r\n\r\n```\r\n~/Projects/ttt eslint bzzz/2.js                \r\n  eslint:cli Running on files +0ms\r\n  eslint:cli-engine Processing /Users/roadhump/Projects/LINKED/2.js +5ms\r\n  eslint:cli-engine Linting /Users/roadhump/Projects/LINKED/2.js +12ms\r\n  eslint:config Constructing config for /Users/roadhump/Projects/LINKED/2.js +1ms\r\n  eslint:config Using .eslintrc and package.json files +0ms\r\n  eslint:config Merging command line environment settings +1ms\r\n  eslint:cli-engine Linting complete in: 28ms +12ms\r\n\r\n/Users/roadhump/Projects/ttt/bzzz/2.js\r\n  0:0  warning  File ignored because of your .eslintignore file. Use --no-ignore to override\r\n\r\n✖ 1 problem (0 errors, 1 warning)\r\n\r\n```\r\n\r\nand if I run on folder, file is silently excluded\r\n\r\n```\r\n~/Projects/ttt eslint .\r\n  eslint:cli Running on files +0ms\r\n  eslint:cli-engine Processing /Users/roadhump/Projects/LINKED/2.js +101ms\r\n  eslint:cli-engine Linting /Users/roadhump/Projects/LINKED/2.js +17ms\r\n  eslint:config Constructing config for /Users/roadhump/Projects/LINKED/2.js +0ms\r\n  eslint:config Using .eslintrc and package.json files +0ms\r\n  eslint:config Merging command line environment settings +2ms\r\n  eslint:cli-engine Processing /Users/roadhump/Projects/ttt/1.js +12ms\r\n  eslint:cli-engine Linting /Users/roadhump/Projects/ttt/1.js +14ms\r\n  eslint:config Constructing config for /Users/roadhump/Projects/ttt/1.js +0ms\r\n  eslint:config Using .eslintrc and package.json files +1ms\r\n  eslint:config Loading /Users/roadhump/Projects/ttt/.eslintrc +0ms\r\n  eslint:config Using /Users/roadhump/Projects/ttt/.eslintrc +22ms\r\n  eslint:config Merging command line environment settings +0ms\r\n  eslint:cli-engine Processing /Users/roadhump/Projects/ttt/xxx/3.js +12ms\r\n  eslint:cli-engine Linting /Users/roadhump/Projects/ttt/xxx/3.js +12ms\r\n  eslint:config Constructing config for /Users/roadhump/Projects/ttt/xxx/3.js +0ms\r\n  eslint:config Using .eslintrc and package.json files +0ms\r\n  eslint:config Loading /Users/roadhump/Projects/ttt/.eslintrc +0ms\r\n  eslint:config Using /Users/roadhump/Projects/ttt/.eslintrc +1ms\r\n  eslint:config Merging command line environment settings +0ms\r\n  eslint:cli-engine Linting complete in: 192ms +2ms\r\n\r\n/Users/roadhump/Projects/ttt/1.js\r\n  1:9  error  Strings must use doublequote  quotes\r\n\r\n/Users/roadhump/Projects/ttt/xxx/3.js\r\n  1:9  error  Strings must use doublequote  quotes\r\n\r\n✖ 2 problems (2 errors, 0 warnings)\r\n\r\n\r\n```\r\n\r\nI think it would be nice if there were no difference between linked and real folders\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26588806-ignore-warning-when-file-in-linked-folder?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/153211370","html_url":"https://github.com/eslint/eslint/issues/3720#issuecomment-153211370","issue_url":"https://api.github.com/repos/eslint/eslint/issues/3720","id":153211370,"user":{"login":"IanVS","id":4616705,"avatar_url":"https://avatars.githubusercontent.com/u/4616705?v=3","gravatar_id":"","url":"https://api.github.com/users/IanVS","html_url":"https://github.com/IanVS","followers_url":"https://api.github.com/users/IanVS/followers","following_url":"https://api.github.com/users/IanVS/following{/other_user}","gists_url":"https://api.github.com/users/IanVS/gists{/gist_id}","starred_url":"https://api.github.com/users/IanVS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanVS/subscriptions","organizations_url":"https://api.github.com/users/IanVS/orgs","repos_url":"https://api.github.com/users/IanVS/repos","events_url":"https://api.github.com/users/IanVS/events{/privacy}","received_events_url":"https://api.github.com/users/IanVS/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T01:28:00Z","updated_at":"2015-11-03T01:28:00Z","body":"The issue is accepted, which means anyone is free to submit a PR to fix it.  Feel free to take a crack at it."}}