amilajack / amilajack/eslint-plugin-compat

Compatibility info appears to be missing, eslint 9 config, 6.0

Aperta
#636 3 commenti 6 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
3.2k
Fork
115
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Is this plugin actually broken?

`eslint.config.js`
```js
...
{
files: ['dist/*.js'],
...compat.configs['flat/recommended'],
languageOptions: {
ecmaVersion: 2018,
globals: {
...globals.browser,
}
},
settings: {
browsers: 'last 10 years'
}
},
...
```

Run against https://github.com/replete/biscuitman/blob/main/dist/biscuitman.js
yields:
```
/biscuitman/dist/biscuitman.js
278:16 error Intl is not supported in Safari 7.1, iOS Safari 8 compat/compat

✖ 1 problems (1 errors, 0 warnings)
```

There are so many incompatible things not being picked up here that something must be wrong.

I've just set 10 years to test if this was working at all, because no errors were coming through. Is this a recent issue or has this been broken for a long time?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.