GoogleCloudPlatform / GoogleCloudPlatform/nodejs-docs-samples

eslintrc rules may be invalid

Offen
#4,174 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p2 samples triage me type: bug
Vorherrschende Sprache
JavaScript
Sterne
3k
Forks
2k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
44

Beschreibung

Discovered as part of unrelated changes: the rule to ignore missing imports is `n/no-missing-imports`, not `node/no-missing-imports`.

The .estlintrc.json inherits from gts, and uses module source, so the rule may never be used anyway, but it would be useful to confirm the configuration is correct and update it if required.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Inspect .estlintrc.json and compare the missing-import rule with the inherited gts configuration and module source setting. Confirm whether the rule is active, correct the configuration if needed, and verify that the resulting ESLint configuration is valid.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
eslint, javascript
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.