GDQuest / GDQuest/GDScript-formatter
Linter: Make it possible to configure linter rules in the config file on per folder basis
- Lingua principale
- Rust
- Stelle
- 455
- Fork
- 39
- Merge medio
- 1g 15h
- PR unite (30g)
- 4
Descrizione
Our project has a unit testing directory, where tests are calling private functions (they start with `_`). For tests code the linter reports errors, that the private functions are called, but for our project we want to ignore them.
There only way to configure the linter I found from the docs is with [comments](https://github.com/GDQuest/GDScript-formatter#ignoring-lines) and [cli args](https://github.com/GDQuest/GDScript-formatter#disabling-specific-rules), which is not scalable for the team or the whole bunch of unit tests files with hundreds of calls.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia leggendo la documentazione collegata sull’ignorare le righe e sulla disabilitazione di regole specifiche, quindi esamina come il linter gestisce attualmente i commenti e gli argomenti CLI. Definisci come devono essere sovrascritte le regole per la directory dei test unitari e verifica che le chiamate a funzioni private nei test non producano più errori senza commenti per riga.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- godot, rust
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100