amilajack / amilajack/eslint-plugin-compat
Property-specific polyfill configurations broken for "URL" APIs
- 主要言語
- TypeScript
- スター
- 3.2k
- フォーク
- 115
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently using v3.8.0 of eslint-plugin-compat with the following .eslintrc settings:
```
{
"extends": [
"plugin:compat/recommended"
],
"env": {
"browser": true
},
"parserOptions": {
"ecmaVersion": 6
},
"settings": {
"polyfills": [
"URL.createObjectURL"
]
}
}
```
Here are the contents of my .browserslistrc file:
```
last 2 firefox versions
last 2 chrome versions
last 2 safari versions
last 2 edge versions
last 2 opera versions
ie 11
```
To reproduce, create a JS file with the following code:
```
URL.createObjectURL("")
```
The linter will fail with `error URL is not supported in IE 11 compat/compat`.
This works fine in v3.7.0, so this regression must have been introduced in the latest version release.
コントリビューションガイド
評価
この issue はまだ評価されていません。