GoogleCloudPlatform / GoogleCloudPlatform/nodejs-docs-samples

eslintrc rules may be invalid

Ouverte
#4,174 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
priority: p2 samples triage me type: bug
Langage dominant
JavaScript
Étoiles
3k
Forks
2k
Merge moyen
2 j 19 h
PR mergées (30 j)
44

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
eslint, javascript
Domaine
tooling
Type d'issue
Bug
Difficulté
1/5
Temps estimé
Moins d'une heure
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.