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

Commit

Permalink
Removed references to npm-*.*.* and releases branches from docs (#626)
Browse files Browse the repository at this point in the history
I'll also update the Releases wiki page to no longer suggest them.

Fixes #610
  • Loading branch information
Josh Goldberg authored Nov 5, 2018
1 parent 9084d54 commit 0d2b678
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ A set of [TSLint](https://github.com/palantir/tslint) rules used on some Microso
npm install tslint-microsoft-contrib --save-dev
```

Alternately, you can download the files directly from GitHub: see [npm-5.2.1](https://github.com/Microsoft/tslint-microsoft-contrib/tree/npm-5.2.1).

...or use the [`releases`](https://github.com/Microsoft/tslint-microsoft-contrib/tree/releases) branch, which is available online.
You can use that build by setting your npm version of `tslint-microsoft-contrib` to `git://github.com/Microsoft/tslint-microsoft-contrib.git#releases`.

## TSLint and corresponding tslint-microsoft-contrib version

| TSLint version | tslint-microsoft-contrib version |
Expand Down
10 changes: 0 additions & 10 deletions build-tasks/validate-documentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ getAllFormatterNames().forEach(formatterName => {
}
});

if (readmeText.indexOf('[npm-' + packageJson.version + ']') === -1) {
validationErrors.push(
'Version not documented in README.md correctly.\n' +
'package.json declares: ' +
packageJson.version +
'\n' +
'README.md declares something different.'
);
}

if (validationErrors.length > 0) {
console.log(yellowBright(validationErrors.join('\n')));
process.exit(1);
Expand Down

0 comments on commit 0d2b678

Please sign in to comment.