You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/3/fi/osa3d.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -287,13 +287,13 @@ Kannattaa ehkä tehdä linttaustakin varten _npm-skripti_:
287
287
288
288
Nyt komento _npm run lint_ suorittaa tarkastukset koko projektille.
289
289
290
-
Myös hakemistossa <em>build</em> oleva frontendin tuotantoversio tulee näin tarkastettua. Sitä emme kuitenkaan halua, eli tehdään projektin juureen tiedosto [.eslintignore](https://eslint.org/docs/user-guide/configuring/ignoring-code#the-eslintignore-file) ja sille seuraava sisältö:
290
+
Myös hakemistossa <em>dist</em> oleva frontendin tuotantoversio tulee näin tarkastettua. Sitä emme kuitenkaan halua, eli tehdään projektin juureen tiedosto [.eslintignore](https://eslint.org/docs/user-guide/configuring/ignoring-code#the-eslintignore-file) ja sille seuraava sisältö:
291
291
292
292
```bash
293
-
build
293
+
dist
294
294
```
295
295
296
-
Näin koko hakemiston <em>build</em> sisältö jätetään huomioimatta linttauksessa.
296
+
Näin koko hakemiston <em>dist</em> sisältö jätetään huomioimatta linttauksessa.
297
297
298
298
Lintillä on jonkin verran huomautettavaa koodistamme:
0 commit comments