loadsys / loadsys/loadsys_codesniffer
.editorconfig to prevent stripping trailing space, adding final newline in snifftests/files/.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PHP
- Sterne
- 0
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
One of the gotchas of working on the "bad" sample files is that sometimes your editor is actively trying to help you from making style mistakes. While this is a good thing in any actual project, it's problematic when working on the sample files that should intentionally break our standard.
An .editorconfig file should be added to this project that disables options such as "add final newline" and "trim trailing line whitespace" within the snifftests/files/ folder. This will make it easier to work on the files without accidentally modifying them to no longer fail a specific rule.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Füge eine .editorconfig-Datei hinzu, die snifftests/files/ abdeckt, und prüfe zuerst das dort vorhandene Layout der Beispieldateien. Konfiguriere die angeforderten Ausnahmen für abschließende Zeilenumbrüche und nachgestellte Leerzeichen und verifiziere anschließend, dass die Editoreinstellungen diese absichtlichen Formatierungsverstöße beibehalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- php
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100