AtCoder-NoviSteps / AtCoderNoviSteps

【非公式】 AtCoder 上の問題について、取組み状況を記録していくサイトです。各問題が細かく難易度付けされており、必要な知識を段階的に習得できます。
https://atcoder-novisteps.vercel.app/
MIT License
31 stars 7 forks source link

ESLintとPrettierの代わりにbiomeの導入を検討してみましょう #94

Open KATO-Hiro opened 11 months ago

KATO-Hiro commented 11 months ago

WHY

See

https://biomejs.dev/blog/annoucing-biome

https://github.com/biomejs/biome

KATO-Hiro commented 4 months ago

https://zenn.dev/imaimai17468/articles/33e3881405a944

KATO-Hiro commented 3 weeks ago
KATO-Hiro commented 3 weeks ago

基本的なコマンドを使った感想

KATO-Hiro commented 3 weeks ago
 ✖ Formatter would have printed the following content:

     1  1 │   <script lang="ts">
     2    │ - ··import·{·Toast·}·from·'flowbite-svelte';
     3    │ - ··import·CloseCircleSolid·from·'flowbite-svelte-icons/CloseCircleSolid.svelte';
        2 │ + import·{·Toast·}·from·'flowbite-svelte';
        3 │ + import·CloseCircleSolid·from·'flowbite-svelte-icons/CloseCircleSolid.svelte';
     4  4 │   
     5    │ - ··export·let·errorMessage:·string·|·null·=·null;
        5 │ + export·let·errorMessage:·string·|·null·=·null;
     6  6 │   </script>
     7  7 │   
KATO-Hiro commented 3 weeks ago

2024年8月時点では、一旦見送り。

上記の修正に対してインデントのオプションが用意されたら、すぐにでも導入したい。

KATO-Hiro commented 1 week ago

SvelteKitとbiomeの導入事例.インデントはされていない.

https://github.com/claudiorivera/expense-tracker-svelte-kit https://github.com/Barbacoa08/barbajoe