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

[BUG] Tests fail because wick doesn't adhere to `'use strict';` standards

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
javascript
領域
testing-qa

調査の方向性

まず Chrome で engine/tests/index.html を開き、issue に記載されている strict-mode エラーを再現します。失敗している engine テストを確認し、どのエラーが 'use strict' のルール違反によって発生しているのかを特定します。issue では engine/tests 以外の具体的なファイルやテストケースが特定されていませんが、これらのエラーなしでテストが実行できれば完了です。

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

説明

bug

Describe the bug
I've been trying to get the engine tests up and running, but they continue to reach different types of issues caused by breaking 'use strict'; rules.

To reproduce
Steps to reproduce the behavior:

  1. Open index.html from engine/tests.
  2. See errors

Expected behavior
No errors, since most of the things being tested are not problems currently known about the engine's code.

Screenshots

Image

Editor version
Is this bug reproducible in Wick Editor 1.19.3/1.19.4 or only Candlestick? I don't know. Only has been tested in Candlestick, but because I know Candlestick and Wick share most of the same code, I believe it also happens there too.

Device

  • Hardware: Wintel PC
  • OS: Windows 11
  • Browser: Chrome
  • Version: 149.0.7827.200 (Official Build) (64-bit) (cohort: 149.0.7827.200 Rollout)

Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
The solution would be to re-write almost all of the engine to fit into strict JS standards.

Additional context
I don't think this is a problem for the codebase, but strict JS is considered better than default JS nowadays.

主要言語
JavaScript
スター
53
フォーク
22
平均マージ
2日 10時間
マージ済み PR(30日)
12

環境構築

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

はじめの一歩

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

Candlestickers/Candlestick のほかの issue

Candlestickers/Candlestick の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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