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

Removed references to npm-*.*.* and releases branches from docs #626

Merged
merged 2 commits into from
Nov 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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