-
-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
Create test1.js:
export const value = 'test1';Create test2.js:
import {value} from './test1';
console.log(value);Run xo, it correctly does not report any errors. Now rename the export in test1.js:
export const value2 = 'test1';
Run xo again, it fails to report any errors. Run touch test2.js && xo, you will see the correct error:
test2.js:1:9
✖ 1:9 value not found in ./test1 import/named
1 error
Locally I just cleared the ~/.xo-cache folder so this resolved the issue for me. Secondary issue, have you considered using ./node_modules/.cache/xo? That would have made it easier for me to find/clear the cache.
sharkykh
Metadata
Metadata
Assignees
Labels
No labels