Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

TSLint not invoked on lint cli #19

Closed
s1na opened this issue Feb 21, 2019 · 9 comments · Fixed by #26
Closed

TSLint not invoked on lint cli #19

s1na opened this issue Feb 21, 2019 · 9 comments · Fixed by #26

Comments

@s1na
Copy link
Contributor

s1na commented Feb 21, 2019

It has happened a few times for me that running npm run lint returns no error, but running npm run tslint does return errors, which is strange given that lint runs tslint internally.

@holgerd77
Copy link
Member

I would generally find it good if these lint and prettier commands would be a bit more verbose. A bit too much auto-magic for my taste. 😋

@holgerd77
Copy link
Member

Might this be related to the problems in the merkle-patricia-tree library addressed here?

@s1na
Copy link
Contributor Author

s1na commented Mar 7, 2019 via email

@holgerd77
Copy link
Member

Ok, think I will close this here for now, can always reopen if necessary. 😄

@s1na
Copy link
Contributor Author

s1na commented Sep 26, 2019

This issue still persists, and is not due to .gitignore. npm run lint is not really invoking tslint.

@s1na s1na reopened this Sep 26, 2019
@alcuadrado
Copy link
Member

Where do you see this issue? In which projects?

@s1na
Copy link
Contributor Author

s1na commented Sep 27, 2019

I noticed in while working on turbo-token, but just tested in VM and it's the same.

@krzkaczor
Copy link
Contributor

Can u provide a CI build link?

@s1na
Copy link
Contributor Author

s1na commented Sep 30, 2019

From https://circleci.com/gh/ethereumjs/ethereumjs-vm/7322:

#!/bin/bash -eo pipefail
npm run lint

> [email protected] lint /home/circleci/project/ethereumjs-vm
> ethereumjs-config-lint

+ exec npm run format

> [email protected] format /home/circleci/project/ethereumjs-vm
> ethereumjs-config-format

+ exec prettier --list-different **/*.{ts,json,md}

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.

4 participants