Skip to content

Commit

Permalink
Add bonus
Browse files Browse the repository at this point in the history
  • Loading branch information
saulirajala committed Sep 17, 2019
1 parent 04f4fe4 commit 3ef257c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,11 @@ npx eslint functions.js
6. Integroi prettier ja eslint osaksi koodieditoria ja/tai buildaus prosessia
- esim. meillä Valulla buildauksen yhteydessä ajetaan sekä prettier että eslint tarkistukset ja jos failaa => ei mee tuotantoon
- Koodieditoriin olen asettanut, että prettier ajetaan aina kun tallennan js-koodia ja editori tekee eslint tarkistuksia on-the-fly


# Bonus
https://twitter.com/MrAhmadAwais/status/1173598977830338560
````js
const shuffle = array => array.sort(()=> 0.5 - Math.random());
export default shuffle;
```

0 comments on commit 3ef257c

Please sign in to comment.