並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 280 件 / 302件

新着順 人気順

ESlintの検索結果241 - 280 件 / 302件

  • Migrate to v9.x - ESLint - Pluggable JavaScript Linter

    To address: If you are using any of these formatters via the -f command line flag, you’ll need to install the respective package for the formatter. Related issue(s): #17524 Removed require-jsdoc and valid-jsdoc rules The require-jsdoc and valid-jsdoc rules have been removed in ESLint v9.0.0. These rules were initially deprecated in 2018. To address: Use the replacement rules in eslint-plugin-jsdoc

      Migrate to v9.x - ESLint - Pluggable JavaScript Linter
    • GitHub - ts-safeql/safeql: Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.

      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 - ts-safeql/safeql: Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.
      • PrettierとESLintをVSCodeで使う(Vue) - Qiita

        はじめに PrettierとESLintをVSCodeで使う方法だが、色々と情報が交錯しすぎなようで、結構調べるのに時間がかかったよ。。。。 というわけで、とりあえず「自分はこの方法で多分できたぜ!」という記録を残す。 環境と前提 ・Vue CLIで作成したプロジェクト ・VSCodeにPrettierとESLintのVSCodeプラグインがインストール済み プラグインのインストールには、下記のようにExtensionsを開いて、該当のプラグインを検索してinstall そもそもの疑問 VSCodeにプラグイン入れるだけで終わりじゃないの?? →終わりじゃない! こいつらをインストールして終わりかと思いきや、そうじゃない。。。 .eslintrcファイルは作る必要あるの? 調べていると毎回登場する「eslintrcファイル」というやつ。。 Vue CLIで作ったプロジェクトなら、最初から.

          PrettierとESLintをVSCodeで使う(Vue) - Qiita
        • ESLint v9への移行

          > ESLINT_USE_FLAT_CONFIG=true eslint . Oops! Something went wrong! :( ESLint: 8.57.0 A config object is using the "env" key, which is not supported in flat config system. Flat config uses "languageOptions.globals" to define global variables for your files. Please see the following page for information on how to convert your config object into the correct format: https://eslint.org/docs/latest/use/

            ESLint v9への移行
          • ESLint v6.8.0 - Qiita

            前 v6.7.0 | 次 v7.0.0 ESLint v6.8.0 has been released:https://t.co/JXqs24flN0 — ESLint (@geteslint) December 20, 2019 ESLint 6.8.0 がリリースされました。 小さな機能追加とバグ修正が行われています。 このリリースは ESLint 6.x 系 最後のリリースになります。 来月からしばらくの間 7.0.0 のアルファ版・ベータ版がリリースされます。この日本語版リリースノートは 7.0.0 正式リリース (日付未定。3月くらい?) までの間はお休みする予定ですのでご了承ください。 質問やバグ報告等ありましたら、お気軽にこちらまでお寄せください。 🏢 日本語 Issue 管理リポジトリ 👫 日本語サポート チャット 🏢 本家リポジトリ 👫 本家サポート チャット

              ESLint v6.8.0 - 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
              • ESLint v7.5.0 released - ESLint - Pluggable JavaScript Linter

                Published 18 Jul, 2020 under Release Notes ESLint v7.5.0 released We just pushed ESLint v7.5.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. Highlights Optional Chaining Support Support for optional chaining has landed in ESLint! const maybeProp = obj.first?.second; The default parser and built-in rules will s

                  ESLint v7.5.0 released - ESLint - Pluggable JavaScript Linter
                • Biome v1.7

                  Today we’re excited to announce the release of Biome v1.7! This new version provides an easy path to migrate from ESLint and Prettier. It also introduces experimental machine-readable reports for the formatter and the linter, new linter rules, and many fixes. Update Biome using the following commands:

                    Biome v1.7
                  • Akitainu: unified linting toolkit for node.js projects

                    Akitainu is a tool for unifying linting workflows of node.js projects. Based on .akitainurc.js, Akitainu can invoke multiple linters and provide results in a unified format. It also supports posting list results as a pull request review comment on GitHub. Akitainu is also suitable in the case where you want to tighten linter settings but cannot afford to fix all existing code for the new settings.

                      Akitainu: unified linting toolkit for node.js projects
                    • TypeScriptプロジェクトに3分でESLint/Prettierを入れる(2022年)

                      注1. ソースはsrc配下にある前提になっていますので、適宜変えてください。 注2. 導入後、設定の微調整は適宜行ってください。 結論 1. パッケージインストール 5つインストールする。 パッケージマネージャに応じてコマンドは変えること。 npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-prettier prettier { "env": { "es2021": true // 環境に応じてenvは変えてください // "node": true, // "browser": true }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommende

                        TypeScriptプロジェクトに3分でESLint/Prettierを入れる(2022年)
                      • eslint-plugin-var-lengthで変数名の長さにメリハリをつけよう!

                        こんにちは。この記事は筆者が開発したESLintプラグイン「eslint-plugin-var-length」を宣伝する記事です。このプラグインを使うことで、変数の生存範囲の広さに応じて変数の最低文字数制限を変えることができます。 変数名の長さについて 変数名というのは、プログラミングにおいて非常に重要な要素です。どんな変数名でもプログラムは動きますが、変数名はプログラムの読みやすさに大きな影響を与えます。極端な例では、変数名が順番にa, b, c, ……だとしたらそのプログラムはとても読めたものではないでしょう。 変数名は何が入っているのかが分かりやすい命名が理想的ですが、変数の名前の良し悪しのチェックというのは困難なタスクです。変数名がチェックされる主な機会はコードレビューであり、変数名の良し悪しを人間がチェックしなければいけません。プログラミング、特にコードのチェックにおいては機械的

                          eslint-plugin-var-lengthで変数名の長さにメリハリをつけよう!
                        • no-unsafe-finally - ESLint - Pluggable JavaScript Linter

                          JavaScript suspends the control flow statements of try and catch blocks until the execution of finally block finishes. So, when return, throw, break, or continue is used in finally, control flow statements inside try and catch are overwritten, which is considered as unexpected behavior. Such as: // We expect this function to return 1; (() => { try { return 1; // 1 is returned but suspended until f

                            no-unsafe-finally - ESLint - Pluggable JavaScript Linter
                          • ESLintでimportの整列・追加・削除を自動化する - Qiita

                            概要 ESLintのプラグインとVS Codeの設定でimportの追加・削除・整列を自動化して幸せになれる記事です。 こんな人におすすめ チーム間でimportの順番などのルールが決まっておらず。人によってフォーマットがバラバラなのが実は気になっている。 未使用のimportを消すのを忘れがち。 コンポーネントやライブラリの関数を書いたら勝手にimportしてくれたら嬉しい。 import周りを触るのがシンプルにめんどい。 使用するプラグインと設定 VS Codeの設定 source.addMissingImports importの自動追加に使用する VS Codeで設定する ESLintのプラグイン eslint-plugin-import importの整列に使用するプラグイン eslint-plugin-unused-imports 未使用のimportを削除に使用するプラグイン

                              ESLintでimportの整列・追加・削除を自動化する - Qiita
                            • Migrate to v9.x - ESLint - Pluggable JavaScript Linter

                              To address: If you are using any of these formatters via the -f command line flag, you’ll need to install the respective package for the formatter. Related issue(s): #17524 Removed require-jsdoc and valid-jsdoc rules The require-jsdoc and valid-jsdoc rules have been removed in ESLint v9.0.0. These rules were initially deprecated in 2018. To address: Use the replacement rules in eslint-plugin-jsdoc

                                Migrate to v9.x - ESLint - Pluggable JavaScript Linter
                              • ESLint's 2022 year in review - ESLint - Pluggable JavaScript Linter

                                In February 2022, we shared our plan for 2022, including how the ESLint project as a whole would be spending its sponsorship money for the betterment of the project. In this post, I’ll share what we achieved during the year. Website redesign The most recognizable change to the project was undoubtedly the website redesign. The new website was officially launched on June 23 and was immediately met w

                                  ESLint's 2022 year in review - ESLint - Pluggable JavaScript Linter
                                • Announcing typescript-eslint v8 | typescript-eslint

                                  typescript-eslint is the tooling that enables standard JavaScript tools such as ESLint and Prettier to support TypeScript code. We've been working on a set of breaking changes and general features that we're excited to get in front of users. And now, we're excited to say that typescript-eslint v8 is released as stable! 🎉 We'd previously blogged about v8 in Announcing typescript-eslint v8 Beta. Th

                                    Announcing typescript-eslint v8 | typescript-eslint
                                  • GitHub - antfu/eslint-flat-config-viewer: A visual tool to help you view and understand your ESLint Flat config.

                                    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 - antfu/eslint-flat-config-viewer: A visual tool to help you view and understand your ESLint Flat config.
                                    • 【VSCode】ReactとTypeScript、ESLint、Prettier、Airbnbで環境構築する手順

                                      【VSCode】ReactとTypeScript、ESLint、Prettier、Airbnbで環境構築する手順 今回はVSCodeでReactとTypeScript、ESLint、Prettier、Airbnbの環境構築について説明します。 前提条件は以下 creat-react-appを使ってReact、TypeScriptの環境を作るESLintとPrettierを追加して、VSCode上の拡張機能と連動させるAirbnbでESLintのルールを拡張して、チェック機能を強化 環境は以下です。 macOS Catalina v10.15.5Visual Studio Code v1.57.0React v17.0.2TypeScript v4.5.5node.js v16.13.1 ReactとTypeScriptの環境構築する流れ Reactの環境構築には公式でも紹介されているcre

                                        【VSCode】ReactとTypeScript、ESLint、Prettier、Airbnbで環境構築する手順
                                      • Next.js +TypeScriptで環境構築!ESLint + Prettierの導入から解析自動化までやってみた

                                        はじめに こんばんは、バックエンドエンジニア見習い1年目のkuraoです! 「Next.js+TypeScript」でアプリケーション環境を構築する機会があり、その際リンターツール導入の手順などと併せてドキュメントとしてまとめていたので、アウトプットを兼ねてこの場に書き連ねて行こうと思います! 実現したい事 今回のアプリケーション環境構築で目指す所としては以下です。 Next.js環境のアプリを構築 Next.js環境のアプリにTypeScriptを導入 ESLint + Prettier を導入して、コードの一貫性を高め、かつバグ回避を行う husky + lint-staged を導入して、ESlintとPrettierによるコード解析を自動化する 前提 nodeがインストールしてある事(ver. 14.15.4) yarnパッケージがインストールしてある事(ver. 1.22.4)

                                          Next.js +TypeScriptで環境構築!ESLint + Prettierの導入から解析自動化までやってみた
                                        • typescript-eslint/packages/eslint-plugin/docs/rules at main · typescript-eslint/typescript-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

                                            typescript-eslint/packages/eslint-plugin/docs/rules at main · typescript-eslint/typescript-eslint
                                          • Node.js(ES6で実装)におけるESLint・Prettierの設定を1からやってみた|SHIFT Group 技術ブログ

                                            はじめにこんにちは、SHIFT の開発部門に所属しているKatayamaです。 開発をしていく中に静的解析・構文チェックが常に走る状態になっておらず、開発後に一気に静的解析・構文チェックを実行すると、中々悲惨な事になってしまいます・・・。というわけで今回は JavaScript の開発をする上では必須とも言える静的解析・構文チェックツールである ESLint・prettier の設定を 1 からやってみたので、それについて書いていこうと思います。 合わせて、ESLint・prettier の設定に合わせた VS Code の設定も行ってみたので、それについても書いています。 ※なお、今回 ESLint の設定を行うプロジェクトは、Node.js で ES Modules を利用して実装しているものにります。Node.js で ES Modules を利用するための設定についてはNode.j

                                              Node.js(ES6で実装)におけるESLint・Prettierの設定を1からやってみた|SHIFT Group 技術ブログ
                                            • Vue CLIのデフォルト設定からESLintのベストプラクティスを検討する | フューチャー技術ブログ

                                              TIGの伊藤真彦です。 この記事はフロントエンド連載の3記事目です。 今回は愛用しているVue CLIを利用して、フロントエンドアプリケーションの詳細な設定について調査してみました。 はじめにプログラムを実装する上で、コードの書き方は絶対的な正解のないトピックとして存在します。 例えば、コードのインデントはタブなのか、半角スペースなのか、文字列リテラルを囲う記号は””なのか’’なのか、といった細かいルールです。これらのルールは、究極的には好みの問題で、正解のあるものではありません。 正解がない以上、コードを実装する際にどのようなフォーマットが正しいかを判断することは難しいです。言語によってはコード規約をプロジェクト、チーム、または会社単位で明記、時には社外に公開する事でこれらルールの混乱を防ぐ試みも存在します。 ちなみにフューチャーではJavaとSQLのコード規約を公開しています。 しかし

                                                Vue CLIのデフォルト設定からESLintのベストプラクティスを検討する | フューチャー技術ブログ
                                              • GitHub - webpack-contrib/eslint-webpack-plugin: A ESLint plugin for webpack

                                                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 - webpack-contrib/eslint-webpack-plugin: A ESLint plugin for webpack
                                                • ESLint v8.56.0 の `reportUnusedDisableDirectives` とは何か?

                                                  この記事は Cybozu Frontend Advent Calendar 2023 の 24 日目の記事です。 先日リリースされた ESLint v8.56.0 でオプション reportUnusedDisableDirectives が改善された話です。 元々どういうオプションだった? // eslint-disable-line みたいなルール無効化ディレクティブを書いたけど、しばらくして何かしらのコード修正の影響でもうそのルール違反は発生しなくなって、でも無効化ディレクティブは消し忘れて無駄に残っている、みたいな状態は起こりがちです。 例えば以下のように non null assertion (!) が一時的に必要になって disable したけど、

                                                    ESLint v8.56.0 の `reportUnusedDisableDirectives` とは何か?
                                                  • Configuration Files (New) - ESLint - Pluggable JavaScript Linter

                                                    This config system is feature complete but not enabled by default. To opt-in, place an eslint.config.js file in the root of your project or set the ESLINT_USE_FLAT_CONFIG environment variable to true. To opt-out, even in the presence of an eslint.config.js file, set the environment variable to false. If you are using the API, you can use the configuration system described on this page by using the

                                                      Configuration Files (New) - ESLint - Pluggable JavaScript Linter
                                                    • ESLint v7.1.0 - Qiita

                                                      前 v7.0.0 | 次 v7.2.0 ESLint v7.1.0 has been released! 🎉https://t.co/r2Dk1UBQoy — ESLint (@geteslint) May 23, 2020 ESLint 7.1.0 がリリースされました。小さな機能追加とバグ修正が含まれています。 また、公式のサポートチャット (英語) が Gitter から Discord に移動しました。日本語の方も移動予定です。 質問やバグ報告等ありましたら、お気軽にこちらまでお寄せください。 🏢 日本語 Issue 管理リポジトリ 👫 日本語サポート チャット (招待リンク) 🏢 本家リポジトリ 👫 本家サポート チャット (招待リンク) [PR] ESLint は開発リソースを確保するための寄付を募っています。 応援してくださると嬉しいです。 ESLint の Git

                                                        ESLint v7.1.0 - Qiita
                                                      • Home (Envelop)

                                                        Envelop: The Missing GraphQL Plugin SystemDevelop and share plugins that are usable with any GraphQL server framework or schema.

                                                          Home (Envelop)
                                                        • GitHub - angular-eslint/angular-eslint: :sparkles: Monorepo for all the tooling related to using ESLint with Angular

                                                          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 - angular-eslint/angular-eslint: :sparkles: Monorepo for all the tooling related to using ESLint with Angular
                                                          • babel/eslint/babel-eslint-parser at main · babel/babel

                                                            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

                                                              babel/eslint/babel-eslint-parser at main · babel/babel
                                                            • Find and fix problems in your JavaScript code - ESLint - Pluggable JavaScript Linter

                                                              ESLint Versions Latest Version v8.16.0 on 20 May Upcoming Version v8.17.0 on 3 Jun Development HEAD on 25 May Find issues ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline. Learn more about finding issues with ESLint Fix problems automatically Many problems ESLint finds can be

                                                                Find and fix problems in your JavaScript code - ESLint - Pluggable JavaScript Linter
                                                              • Release eslint-config-airbnb-v19.0.0 · airbnb/javascript

                                                                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

                                                                  Release eslint-config-airbnb-v19.0.0 · airbnb/javascript
                                                                • ESLint - Error: Must use import to load ES Module

                                                                  I am currently setting up a boilerplate with React, TypeScript, styled components, Webpack, etc., and I am getting an error when trying to run ESLint: Error: Must use import to load ES Module Here is a more verbose version of the error: /Users/ben/Desktop/development projects/react-boilerplate-styled-context/src/api/api.ts 0:0 error Parsing error: Must use import to load ES Module: /Users/ben/Desk

                                                                    ESLint - Error: Must use import to load ES Module
                                                                  • TypeError: this.cliEngine is not a constructor – IDEs Support (IntelliJ Platform) | JetBrains

                                                                    Hi! When I try to set up eslint in webstorm using this guide https://www.jetbrains.com/help/webstorm/eslint.html i get an error message on each js file saying ESLint: TypeError: this.cliEngine is not a constructor . I have search the web and cannot find any way to fix this issue, does anyone know how to solve this problem? Thanks, Magnus

                                                                      TypeError: this.cliEngine is not a constructor – IDEs Support (IntelliJ Platform) | JetBrains
                                                                    • ESLint v8.0.0-rc.0 released - ESLint - Pluggable JavaScript Linter

                                                                      Published 24 Sep, 2021 under Release Notes ESLint v8.0.0-rc.0 released We just pushed ESLint v8.0.0-rc.0, which is a new prerelease version for ESLint v8. This release adds some new features and fixes several bugs found in the previous release. Highlights This is a summary of the major changes you need to know about for this version of ESLint. This version of ESLint is provided to gather feedback

                                                                        ESLint v8.0.0-rc.0 released - ESLint - Pluggable JavaScript Linter
                                                                      • npmで管理しているライブラリのバージョンアップ手順まとめ

                                                                        概要 npmで管理しているライブラリのバージョンアップ方法をまとめていきます。 また、今回は何かサンプルのプロジェクトを利用し、結果を見ていくとわかりやすいと思うので、https://github.com/creativetimofficial/vue-notus こちらを利用し下記の手順を試しながら結果を記載していきます。 ローカル環境のnpmバージョンを確認 最新のversionになっていることを確認します。 最新になっていなければversionをlatestまで上げてからバージョンアップを行うのが良いです。 現在のライブラリのversionを確認 npm outdatedコマンドで現在のライブラリのバージョン、マイナーバージョンがどのくらい上がるのかを確認します。 npm outdated説明 Current:現在インストールされているバージョン Wanted:存在するバージョンのう

                                                                          npmで管理しているライブラリのバージョンアップ手順まとめ
                                                                        • GitHub - eslint-types/eslint-define-config: Provide a defineConfig function for .eslintrc.js files

                                                                          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.

                                                                            GitHub - eslint-types/eslint-define-config: Provide a defineConfig function for .eslintrc.js files
                                                                          • GitHub - azu/eslint-cjs-to-esm: ESLint wrapper for migration from CJS to ESM.

                                                                            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 - azu/eslint-cjs-to-esm: ESLint wrapper for migration from CJS to ESM.
                                                                            • ESLintのeslintrcをFlat Configに移行してみた

                                                                              はじめに みなさん、ESLint の Flat Config 移行は進んでいますか? 先日、ESLint の Flat Config への移行に関するブログが公開されました。 ざっくり下記のような流れで移行していくとのことです。 ESLint v9 (今年末 ~ 来年の初めにリリース予定)で flat config がデフォルトになり、eslintrc は非推奨になる。 eslint v10 (2024年末 ~ 2025 年初頭にリリース予定)で eslintrc が削除される 徐々に Flat Config に移行していかなければ...ということで、以前、筆者が作成した vite-plugin-sri2 で使用している eslintrc を Flat Config に移行してみました。 本記事では移行する時に対応したことを列挙していきます。 移行前後の比較 先に移行前の eslintrc

                                                                                ESLintのeslintrcをFlat Configに移行してみた
                                                                              • StyleGuide | TypeScript Deep Dive

                                                                                An unofficial TypeScript Style Guide People have asked me for my opinions on this. Personally I don't enforce these a lot on my teams and projects but it does help to have these mentioned as a tiebreaker when someone feels the need to have such strong consistency. There are other things that I feel much more strongly about and those are covered in the tips chapter (e.g. type assertion is bad, prop

                                                                                  StyleGuide | TypeScript Deep Dive
                                                                                • ESLint v9.9.0 released - ESLint - Pluggable JavaScript Linter

                                                                                  Highlights Here are some of the key changes in this release. Experimental TypeScript configuration files Arya Emami landed experimental support for TypeScript configuration files. Specifically, you can now use eslint.config.ts, eslint.config.mts, and eslint.config.cts files as your configuration files. Because this feature is experimental, you’ll need to use the unstable_ts_config feature flag: np

                                                                                    ESLint v9.9.0 released - ESLint - Pluggable JavaScript Linter

                                                                                  新着記事