Skip to content

Commit 536269e

Browse files
committed
Remove .eslintignore as it is not supported anymore
1 parent e41ff5b commit 536269e

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

src/content/5/en/part5b.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -695,17 +695,6 @@ NOTE: If you are using Visual Studio Code together with ESLint plugin, you might
695695

696696
See [here](https://github.com/microsoft/vscode-eslint/issues/880#issuecomment-578052807) for more information.
697697

698-
Let's create [.eslintignore](https://eslint.org/docs/latest/use/configure/ignore#the-eslintignore-file) file with the following contents to the repository root
699-
700-
```bash
701-
node_modules
702-
dist
703-
eslint.config.js
704-
vite.config.js
705-
```
706-
707-
Now the directories <em>dist</em> and <em>node_modules</em> will be skipped when linting.
708-
709698
As usual, you can perform the linting either from the command line with the command
710699

711700
```bash

src/content/5/fi/osa5b.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -694,17 +694,6 @@ HUOM: Jos käytät Visual Studio Codea yhdessä ESLint-laajennuksen kanssa, saat
694694

695695
Katso lisätietoja [täältä](https://github.com/microsoft/vscode-eslint/issues/880#issuecomment-578052807).
696696

697-
Tehdään projektin juureen tiedosto [.eslintignore](https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories) ja sille seuraava sisältö:
698-
699-
```bash
700-
node_modules
701-
dist
702-
eslint.config.js
703-
vite.config.js
704-
```
705-
706-
Näin ainoastaan sovelluksessa oleva itse kirjoitettu koodi huomioidaan linttauksessa.
707-
708697
Tuttuun tapaan voit suorittaa linttauksen joko komentoriviltä komennolla
709698

710699
```bash

0 commit comments

Comments
 (0)