GDQuest / GDQuest/GDScript-formatter

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

Open
#192 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
455
Forks
39
Avg merge
1d 15h
Merged PRs (30d)
4

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no implementation files or tests. Start by locating the existing linter handling for next-line and current-line ignores, then add coverage for file-wide suppression while confirming the existing narrower forms still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot, rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.