並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 8 件 / 8件

新着順 人気順

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

  • 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などの設定
    • reviewdog x Custom FormatterでRuboCopの自動修正を提案させるようにしました - inSmartBank

      reviewdog/action-rubocopというOSSプロジェクトをご存知でしょうか。Rubyの静的解析ツールであるRuboCopをGitHub Actionsで実行し、指摘箇所にコメントを付けてくれる便利なCustom Actionです。 本記事では筆者がこのOSSを改良して実装したSuggestion featureという便利機能とその実装についてご紹介します。RuboCopをお使いの方、より良いRuboCop生活をお求めの方、静的解析が好きな方向けの記事となります。 なお、この記事は2023-06-21に行われたGotanda.rb#53@ギフティで"RuboCop Custom Formatter for Reviewdog Diagnostic Format"と題して筆者が行った発表をもとにしています。 前提となる知識 初めにreviewdog/action-rubocop

        reviewdog x Custom FormatterでRuboCopの自動修正を提案させるようにしました - inSmartBank
      • 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: Better formatter Biome formatter has now over 96% in terms of compatibility against Prettier! This score is computed for JavaScript, TypeSc

          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.
            • VSCodeでPythonのLinter/Formatterの拡張機能が出たらしい - Qiita

              (2024/02/06 追記) こちらの記事で紹介している拡張機能はPython3.7以下では動作しないようです。 はじめに Pythonの新しいLinter、Formatter用の拡張機能が追加されたみたいです。 それに伴って今までのやり方は非推奨になるようなので、この拡張機能を利用していない人は切り替えましょう(私も最近気が付きました)。 なので、拡張機能の導入手順を残しておこうと思います。 この拡張機能を使えば、Flake8とかautopep8とかのパッケージをpipでインストールしなくてもいいらしい。 嬉しいですね 詳細は以下のページに書いてありました。 おことわり それぞれの拡張機能の役割については説明しません。 追加になった拡張機能 拡張機能名 ID 導入方法 無効化方法

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

                ESLint version HEAD What problem do you want to solve? ESLint has a lot of core rules that simply move whitespace around. After years of maintaining these rules, I personally believe two things: ESLint is not the right tool for source code formatting. Having each augmentation of whitespace as a separate rule just doesn't scale and forces us to continue to add exceptions and new rules whenever new

                  Change Request: Deprecate formatting rules and recommend using a source code formatter · Issue #17522 · eslint/eslint
                • 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