Skip to content
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

Error when running rules recursively over directory #15

Closed
mikevanoo opened this issue May 12, 2017 · 2 comments
Closed

Error when running rules recursively over directory #15

mikevanoo opened this issue May 12, 2017 · 2 comments

Comments

@mikevanoo
Copy link

Using tslint 5.2.0 and tslint-consistency-codestyle 1.2.0 and the attached tslint.json file (which uses just the example "naming-convention" rule found here: https://www.npmjs.com/package/tslint-consistent-codestyle).

Running the following:
tslint -c tslint.json 'src/**/*.ts'

Generates this error:

error

Am I missing some arguments?

tslint.json.txt

@ajafff
Copy link
Owner

ajafff commented May 12, 2017

I guess your globally installed version of tslint does not match your locally installed version of tslint-consistent-codestyle

You can either try node_modules\.bin\tslint -c tslint.json 'src/**/*.ts' or update your global tslint with npm update tslint typescript -g

@mikevanoo
Copy link
Author

Bingo!
npm update tslint typescript -g
did the trick.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants