Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
replete opened this issue Aug 8, 2024 · 2 comments
Open

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

replete opened this issue Aug 8, 2024 · 2 comments

Comments

@replete
Copy link

replete commented Aug 8, 2024

Is this plugin actually broken?

eslint.config.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?

@replete replete changed the title Compatibility info appears to be missing, eslint 9 6.x Compatibility info appears to be missing, eslint 9 config, 6.0 Aug 8, 2024
@dkrnl
Copy link
Contributor

dkrnl commented Aug 9, 2024

same issues, settings config not affect for eslint 9

@AQS-DTheuke
Copy link

I'm also unable to get any errors from the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants