Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Mixed absolute and relative paths in the output #2462

Closed
vilicvane opened this issue Apr 1, 2017 · 3 comments · Fixed by #2667
Closed

Mixed absolute and relative paths in the output #2462

vilicvane opened this issue Apr 1, 2017 · 3 comments · Fixed by #2667

Comments

@vilicvane
Copy link
Contributor

vilicvane commented Apr 1, 2017

Bug Report

  • TSLint version: 5.0.0
  • TypeScript version: 2.2.2
  • Running TSLint via: (pick one) CLI / VSCode

Command:

tslint -c tslint.json -p tsconfig.json --type-check

Part of the output:

ERROR: C:/Projects/clime/src/castable/array.ts[46, 9]: Operands of '+' operation must either be both strings or both numbers
ERROR: C:/Projects/clime/src/castable/fs.ts[25, 14]: require() style import is forbidden
ERROR: C:/Projects/clime/src/validation/number.ts[8, 9]: Operands of '+' operation must either be both strings or both numbers
ERROR: src/examples/multi-level/cli.ts[9, 1]: Promises must be handled appropriately
ERROR: src/examples/multi-root/cli.ts[15, 1]: Promises must be handled appropriately
ERROR: src/examples/single-level/cli.ts[7, 1]: Promises must be handled appropriately

Possibly related to #1794.

@vilicvane
Copy link
Contributor Author

vilicvane commented May 2, 2017

Still an issue on 5.1.0, can you guys take a look? @adidahiya

@nchen63
Copy link
Contributor

nchen63 commented May 2, 2017

can you provide a repro? I don't see this on my machine

@vilicvane
Copy link
Contributor Author

vilicvane commented May 2, 2017

@nchen63 Please try:

git clone https://github.com/vilic/vio.git
npm install
git checkout 96d3cbbf3376b177a12b584877fa30365cd38555
npm run lint

This is what I get:

Error at C:/Projects/vio/src/route.ts:3:37: Cannot find module 'thenfail'.
Error at C:/Projects/vio/src/router.ts:19:25: Cannot find module 'thenfail'.
Error at C:/Projects/vio/src/router.ts:519:13: Parameter 'user' implicitly has an 'any' type.
Error at C:/Projects/vio/src/router.ts:546:37: Parameter 'resolve' implicitly has an 'any' type.
Error at C:/Projects/vio/src/router.ts:546:46: Parameter 'reject' implicitly has an 'any' type.
Error at C:/Projects/vio/src/router.ts:560:13: Parameter 'error' implicitly has an 'any' type.
Error at C:/Projects/vio/src/test/helpers/request.ts:2:21: Cannot find module 'thenfail'.
Error at C:/Projects/vio/src/test/helpers/request.ts:11:38: Parameter 'resolve' implicitly has an 'any' type.
Error at C:/Projects/vio/src/test/helpers/request.ts:11:47: Parameter 'reject' implicitly has an 'any' type.
Error at src/test/sites.ts:94:67: Parameter 'result' implicitly has an 'any' type.
         ^

nchen63 added a commit that referenced this issue May 2, 2017
nchen63 added a commit that referenced this issue May 4, 2017
nchen63 added a commit that referenced this issue May 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants