Skip to content

Commit 3c9ee65

Browse files
committed
lintxif fi
1 parent 5ed4ac1 commit 3c9ee65

File tree

5 files changed

+186
-91
lines changed

5 files changed

+186
-91
lines changed

src/content/0/en/part0a.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,10 @@ Despite changes *all the submitted exercises remain valid*, and the course can b
340340
341341
Recent major changes
342342
343-
- Part 10 (March 21, 2024): Create React app replaced with Vite
343+
- Part 3 (20th June, 2024): ESLint configurations updated
344+
- Part 10 (21st March, 2024): Create React app replaced with Vite
344345
- Parts 3-5 (February-March 2024): Libraries used for testing changed
345-
- Part 10 (February 26, 2024): Library versions updated
346+
- Part 10 (26th February, 2024): Library versions updated
346347
- Part 11 (16th January 2024): Example project dependencies updated
347348
- Parts 1-2, 5-9 (11th September - 5th October): Create React app replaced with Vite
348349

src/content/0/fi/osa0a.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ Kurssilla ei ole enää vuosittaisia versiota. Kurssi on siis käynnissä koko a
282282
Muutoksista huolimatta <i>kaikki jo tehdyt palautukset säilyvät voimassa</i>, eli voit jatkaa kurssia päivityksistä huolimatta normaaliin tapaan.
283283

284284
Viimeaikaisia isompia muutoksia
285-
- Osa 12 10 (21.3.2024): Create React app korvattu Vitellä
285+
- Osa 3 (20.6.2024): ESLint-konfiguraatiot päivitetty
286+
- Osa 12 (21.3.2024): Create React app korvattu Vitellä
286287
- Osat 3-5 (helmi-maaliskuu 2024): Testaukseen käytetyt kirjastot muutettu
287288
- Osa 10 (26.2.2024): Kirjastoversiot päivitetty
288289
- Osa 11 (16.1.2024): Esimerkkiprojektin riippuvuudet päivitetty

src/content/3/en/part3d.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ We will answer all of the questions:
230230

231231
![terminal output from ESlint init](../../images/3/lint1.png)
232232

233-
The configuration will be saved in the generated <em>eslint.config.mjs</em> file:
233+
The configuration will be saved in the generated _eslint.config.mjs_ file:
234234

235235
```js
236236
import globals from 'globals'
@@ -265,7 +265,6 @@ The _globals_ property specifies global variables that are predefined. The sprea
265265

266266
Finally, the _ecmaVersion_ property is set to "latest". This sets the ECMAScript version to the latest available version, meaning ESLint will understand and properly lint the latest JavaScript syntax and features.
267267

268-
269268
We want to make use of [ESLint's recommended](https://eslint.org/docs/latest/use/configure/configuration-files#using-predefined-configurations) settings along with our own. The _@eslint/js_ package we installed earlier provides us with predefined configurations for ESLint. We'll import it and enable it in the configuration file:
270269

271270
```js
@@ -274,7 +273,7 @@ import js from '@eslint/js'
274273
// ...
275274

276275
export default [
277-
js.configs.recommended,
276+
js.configs.recommended, // hightlight-line
278277
{
279278
// ...
280279
}

src/content/3/fi/osa3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ lang: fi
88

99
Tässä osassa fokus siirtyy backendin, eli palvelimen toiminnallisuuden toteuttamiseen. Toteutamme Node.js:n Express-kirjastoa hyödyntäen yksinkertaisen REST-apin, joka tallettaa dataa MongoDB-tietokantaan. Viemme myös sovelluksemme internetiin.
1010

11-
<i>Osa päivitetty 9.2.2024</i>
12-
- <i>Ei suuria muutoksia</i>
11+
<i>Osa päivitetty 20.6.2024</i>
12+
- <i>Eslint-konfiguraatio päivitetty</i>
1313

1414
</div>

0 commit comments

Comments
 (0)