Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Linter: add support for ignoring a rule on an entire file instead of just next or current line

未关闭
#192 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
50/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
godot, rust
领域
tooling

调研方向

该 issue 未指定任何实现文件或测试。首先定位 linter 对 next-line 和 current-line 忽略的现有处理,然后为文件级 suppression 添加覆盖,同时确认现有的更窄范围形式仍然有效。

由索引模型根据 Issue 内容生成。

描述

E.g. in a class with static methods used to create an instance - I expect to be able to access private fields to assign them in this static factory functions without getting an error from the linter.

Currently, I have to mark each individual access. It can get quite verbose given multiple such static factory functions. In other parts of the code base - I want the rule - but in this file - it's fine for it to be completely disabled.

主要语言
Rust
星标
468
派生
39
平均合并
6 小时 24 分钟
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GDQuest/GDScript-formatter 的其他 Issue

查看 GDQuest/GDScript-formatter 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。