Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Current page error finiky

オープン
#92 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
tooling

調査の方向性

UTF-8 BOM を含む JavaScript ファイルを使って Eclipse で報告を再現し、保存前に Problems view を確認してから保存し、lint の結果を比較します。BOM を含むファイルが保存前後で一貫した診断結果を生成し、Eclipse が先にファイルを変更する必要がなければ、issue は完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

I opened a random .js file in a legacy project and every row except one threw an error.

Now, in the Problems view, which I have set to display only current selection, there are 0 items.

As you can see in my image, the first row is a comment, but there first error in the massive list, when I hover over the gutter icon, is "Expected an assignment or function call and instead saw an expression." The second one is "missing a semicolon" and so forth.

Now when I hit "Ctrl-S" for save, all but three disappear.

The comment's info is now "This character may get deleted by one or more browsers". Also, the Problems view is showing the correct 3 items.

Now this leads to me wonder if there is BOM in there. I opened the properties of the file and it says under Text file encoding, "Default (determined from content: UTF-8)" and "Byte Order Mark is UTF-8 (BOM)".

So I'm not positive, but I think the linter doesn't take into account files that contain BOM until it is saved, which I'm assuming Eclipse removes something it doesn't like.

2014-05-17_1336

主要言語
JavaScript
スター
144
フォーク
31
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipsesource/jshint-eclipse のほかの issue

eclipsesource/jshint-eclipse の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。