GDQuest / GDQuest/GDScript-formatter

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

Aperta
#192 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
455
Fork
39
Merge medio
1g 15h
PR unite (30g)
4

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.