並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 10 件 / 10件

新着順 人気順

Formatterの検索結果1 - 10 件 / 10件

  • Next.js のプロジェクトを開発しやすいようにするlintとformatterなどの設定

    動機 結構 lint 系がアップデートされていたり、以前は必要だったものがいらなくなっていたりしていて自分が作った以前のテンプレートだとちょっと不要な設定などが増えていたので、 これを機に調査しながら設定を見直そうかなと。 今回作ったもの この記事で設定をした Next.js のテンプレートはこちらに公開してあります。 前提 node: v18.17.1 next.js: 13 系 React: 18 系 Next.js まずは Next.js のインストールから。どんなプロジェクトであれ TypeScript で開発をしたいから --ts をつけます。 あとは設問に答えていけば基本的なプロジェクトが作られます。基本的に全て Enter で問題ないです。 ちなみに Would you like to customize the default import alias? はデフォルトで N

      Next.js のプロジェクトを開発しやすいようにするlintとformatterなどの設定
    • Biome formatter wins the Prettier challenge

      With the release of Biome v1.4.0, we claim the bounty of the Prettier challenge! With v1.4.0, you’ll get a better formatter experience, more formatting options, new VSCode features, new sponsors and more! You can upgrade Biome by running the following command: Biome formatter has now over 96% in terms of compatibility against Prettier! This score is computed for JavaScript, TypeScript, and JSX for

        Biome formatter wins the Prettier challenge
      • PythonのLinter & Formatter(Flake8 + isort + Black)をRuffに置き換えたら爆速でした - KAKEHASHI Tech Blog

        こんにちは、カケハシで Musubi 開発チームのバックエンドエンジニアをしている関です。 Musubi 開発では、 Python の Linter と Formatter に Flake8、isort、Black を使用しておりました。しかし Rust で書かれた Ruff という高性能なツールが出たということで、置き換えてみたら爆速になった(25倍以上速くなった)ので、Ruff について記事を書かせていただきます。 今回は Ruff を導入した経緯や実運用に至るまでの工程を紹介したいと思いますので、最後まで読んでいただけると嬉しいです。 Ruffとは Ruff は、2022年8月にリリースされた Rust 言語で書かれた Python の Linter 兼 Formatter です。数多くのフレームワークやライブラリで採用1されています。 Python での開発には複数のツールチェーン

          PythonのLinter & Formatter(Flake8 + isort + Black)をRuffに置き換えたら爆速でした - KAKEHASHI Tech Blog
        • GitHub - biomejs/biome: A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

          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

            GitHub - biomejs/biome: A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
          • How to write a code formatter

            I suspect it's not so much that gofmt in itself is a particular noteworthy formatter (other than not allowing you to configure it in any way, as it should be), but rather that Go itself is incredibly popular and thus subjected many developers to the beauty of not having to worry about manually formatting your code. This then caught on over time, resulting in an increase in the number of available

            • VSCodeでPythonのLinter/Formatterの拡張機能が出たらしい - Qiita

              (2024/02/06 追記) こちらの記事で紹介している拡張機能はPython3.7以下では動作しないようです。 はじめに Pythonの新しいLinter、Formatter用の拡張機能が追加されたみたいです。 それに伴って今までのやり方は非推奨になるようなので、この拡張機能を利用していない人は切り替えましょう(私も最近気が付きました)。 なので、拡張機能の導入手順を残しておこうと思います。 この拡張機能を使えば、Flake8とかautopep8とかのパッケージをpipでインストールしなくてもいいらしい。 嬉しいですね 詳細は以下のページに書いてありました。 (2024/5/12 追記) 今更気が付きましたが、同じことを書いてる方がいました。 旧設定方法からこの記事で紹介している拡張機能に変更したい方は、👇️の記事を参考にすると良いと思います。 サクッと一から設定したい方は私の記事で

                VSCodeでPythonのLinter/Formatterの拡張機能が出たらしい - Qiita
              • Change Request: Deprecate formatting rules and recommend using a source code formatter · Issue #17522 · eslint/eslint

                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

                  Change Request: Deprecate formatting rules and recommend using a source code formatter · Issue #17522 · eslint/eslint
                • VSCodeで特定の拡張子だけformatterを走らせるには - Qiita

                  はじめに 初めまして。エンジニアのkeita_Maxです。 VSCodeで特定のページだけformatterを走らせるにはどうしたらいいか調べて、分かったので備忘録として残します。 この記事にいろいろ書いてありました。 結論 "editor.formatOnSave": true, "[html]": { "editor.formatOnSave": false }, "[javascript]": { "editor.formatOnSave": false }, "[javascriptreact]": { "editor.formatOnSave": false }, "[typescript]": { "editor.formatOnSave": false }, "[typescriptreact]": { "editor.formatOnSave": false }, (引用:

                    VSCodeで特定の拡張子だけformatterを走らせるには - Qiita
                  • GitHub - vercel/little-date: A friendly formatter to make date ranges small & sweet

                    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

                      GitHub - vercel/little-date: A friendly formatter to make date ranges small & sweet
                    • The Ruff Formatter: An extremely fast, Black-compatible Python formatter

                      TL;DR: The Ruff formatter is an extremely fast Python formatter, written in Rust. It’s over 30x faster than Black and 100x faster than YAPF, formatting large-scale Python projects in milliseconds — all while achieving >99.9% Black compatibility. A little over a year ago, I made the first commit to Ruff, an extremely fast Python linter, written in Rust. Since then, Ruff has grown to millions of dow

                        The Ruff Formatter: An extremely fast, Black-compatible Python formatter
                      1