From 7135af36bd19e1a6c83423fa491b3b859b5487d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Wed, 7 Nov 2018 19:44:38 +0000 Subject: [PATCH] Update linting instructions to reference new script name (#320) --- CONTRIBUTING.md | 2 +- NOTICE | 1 + README.md | 2 +- lib/lint/README.md | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6f1b9e03..897d927f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ Instructions are similar to those for bug reports. Please provide the following Before submitting your pull request, please make sure that the following conditions are met: -* Your new code **adheres to the code style** through running `npm run lint`. +* Your new code **adheres to the code style** through running `npm run check`. * Your new code **passes all existing and new tests** through running `npm run test:pr`. * Your PR **excludes distribution files** in `dist/**`. * You appended yourself to the **list of contributors** in the [NOTICE](./NOTICE) file. diff --git a/NOTICE b/NOTICE index a557707c..a884c7b6 100644 --- a/NOTICE +++ b/NOTICE @@ -9,6 +9,7 @@ under the licensing terms detailed in LICENSE: * Norton Wang * Alan Pierce * Palmer +* Linus Unnebäck Portions of this software are derived from third-party works licensed under the following terms: diff --git a/README.md b/README.md index a1921b4f..db3000aa 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ $> npm run clean Linting potential changes: ``` -$> npm run lint +$> npm run check ``` Running the [tests](./tests): diff --git a/lib/lint/README.md b/lib/lint/README.md index d20da84e..972ec349 100644 --- a/lib/lint/README.md +++ b/lib/lint/README.md @@ -29,7 +29,7 @@ Add a script to your `package.json`: Now, to check your sources, run: ``` -$> npm run lint +$> npm run check ``` If you are using [Visual Studio Code](https://code.visualstudio.com/), there's also a [TSLint extension](https://marketplace.visualstudio.com/items?itemName=eg2.tslint) that highlights issues as you type.