Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move samples and template from TSLint to ESLint #561

Merged
merged 15 commits into from Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file removed docs/development-environment/tslint.gif
Binary file not shown.
10 changes: 6 additions & 4 deletions docs/development-environment/vscode.md
Expand Up @@ -10,11 +10,13 @@ But using VS Code is not mandatory to develop a FoalTS app. So feel free to use

## Configuring the linting

In order to directly print the tslint errors in VS Code and auto-fix the problems on save you need to install the `TSLint` extension.
In order to directly print the ESLint errors in VS Code and auto-fix the problems on save you need to install the `ESLint` extension which can be found in the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint).

> *To open the menu with the search bar, use `Cmd`+`Shift`+`P` or `Ctrl`+`Shift`+`P`.*
It can be installed by launching VS Code Quick Open (`Ctrl+P` or `Cmd+P`), pasting the following command, and pressing enter:

![TSLint installation and configuration](./tslint.gif)
```
fer22f marked this conversation as resolved.
Show resolved Hide resolved
ext install dbaeumer.vscode-eslint
```
fer22f marked this conversation as resolved.
Show resolved Hide resolved

## Debugging with VS Code

Expand All @@ -30,4 +32,4 @@ Now you can add a breakpoint in your code and start the app in debug mode.

The generated files also include configurations to run your unit and end-to-end tests (available since v1.0.0).

![Debug configurations](./debug-configurations.png)
![Debug configurations](./debug-configurations.png)