Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Make extends tslint.json easier by adding "rulesDirectory": "./". #268

Closed
HamletDRC opened this issue Sep 23, 2016 · 9 comments
Closed

Make extends tslint.json easier by adding "rulesDirectory": "./". #268

HamletDRC opened this issue Sep 23, 2016 · 9 comments
Milestone

Comments

@HamletDRC
Copy link
Member

branched from #265

@HamletDRC
Copy link
Member Author

This is on the releases branch. Can you please test it if you have some time @dsifford

@dsifford
Copy link
Contributor

Do you have a @next or @dev branch that I can pull from npm or do I have to clone this repo?

If the latter is true, can you possibly consider adding a dev branch to make it easier for things like this?

@dsifford
Copy link
Contributor

Also -- Changes work for me. 👍

@HamletDRC
Copy link
Member Author

The branch is called releases. You can reference it in your package.json

@HamletDRC
Copy link
Member Author

Great news!

@dsifford
Copy link
Contributor

$ npm install -D tslint-microsoft-contrib@releases
npm ERR! Linux 4.7.4-1-ARCH
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-D" "tslint-microsoft-contrib@releases"
npm ERR! node v6.2.0
npm ERR! npm  v3.10.3

npm ERR! No compatible version found: tslint-microsoft-contrib@releases
npm ERR! Valid install targets:
npm ERR! 2.0.12, 2.0.11, 2.0.10, 2.0.9, 2.0.8, 2.0.7, 2.0.6, 2.0.5, 2.0.3, 2.0.2, 2.0.1, 2.0.0, 1.0.0, 0.0.4, 0.0.3, 0.0.1
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

Is there some other way to do this that I'm not aware of? I've installed from "tag" plenty of times, but never from a branch.

Thanks!

@HamletDRC
Copy link
Member Author

Releases is not in non, just git. So the syntax is like https://.../tslint-microsoft-contrib@releases or something. I am on mobile now, let me know if you can't get it working.

@dsifford
Copy link
Contributor

Good to know. Sorry for derailing this, but figured that little gem would be nice to have in my back pocket 😄

Thanks again!

@dsifford
Copy link
Contributor

Aha! This was it...

npm i -D git://github.com/Microsoft/tslint-microsoft-contrib.git#releases

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

No branches or pull requests

2 participants