amplitude / amplitude/homebrew-ampli

Ampli pull generates unnecessary line

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

First of all, I can't find `ampli` repo, so I assume it's not public. Opening the issue here since the devs should be the same.

When doing a pull for react-native sdk, the file starts with:
```
/* tslint:disable */
/* eslint-disable eslint-comments/no-unlimited-disable */
/* eslint-disable */
// @ts-nocheck
```

Not only seems `/* eslint-disable eslint-comments/no-unlimited-disable */` redundant, since the next line disables all. But by being before the global disable, it gets parsed. And if your project isn't using that plugin, it errors:
```
Definition for rule 'eslint-comments/no-unlimited-disable' was not found.eslint(eslint-comments/no-unlimited-disable)
```

Which defeats the purpose of the disable, since now I have an error blocking the lint.

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.