This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 886
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1992 from palantir/next-4.3.0
Prepare v4.3.0-dev.0
- Loading branch information
Showing
209 changed files
with
4,730 additions
and
812 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,7 +158,7 @@ tslint accepts the following command-line options: | |
--force: | ||
Return status code 0 even if there are any lint errors. | ||
Useful while running as npm script. | ||
Useful while running TSLint via an npm script. | ||
-i, --init: | ||
Generates a tslint.json config file in the current working directory. | ||
|
@@ -387,20 +387,25 @@ Development | |
----------- | ||
<sup>[back to ToC ↑](#table-of-contents)</sup> | ||
|
||
Requirements: | ||
|
||
- `node` v7 | ||
- `yarn` v0.18 | ||
|
||
#### Quick Start | ||
|
||
```bash | ||
git clone [email protected]:palantir/tslint.git --config core.autocrlf=input --config core.eol=lf | ||
npm install | ||
npm run compile | ||
npm run test | ||
yarn install | ||
yarn compile | ||
yarn test | ||
``` | ||
|
||
#### `next` branch | ||
|
||
The [`next` branch of this repo](https://github.com/palantir/tslint/tree/next) tracks the latest TypeScript compiler | ||
nightly release as a `peerDependency`. This allows you to develop the linter and its rules against the latest features of the | ||
language. Releases from this branch are published to npm with the `next` dist-tag, so you may install the latest dev | ||
language. Releases from this branch are published to NPM with the `next` dist-tag, so you may install the latest dev | ||
version of TSLint via `npm install tslint@next`. | ||
|
||
Creating a new release | ||
|
@@ -409,7 +414,7 @@ Creating a new release | |
|
||
1. Bump the version number in `package.json` and `src/tslintMulti.ts` | ||
2. Add release notes in `CHANGELOG.md` | ||
3. `npm run verify` to build the latest sources | ||
3. `yarn verify` to build the latest sources | ||
4. Commit with message `Prepare release <version>` | ||
5. Run `npm publish` | ||
6. Create a git tag for the new release and push it ([see existing tags here](https://github.com/palantir/tslint/tags)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.