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

eslint support #16

Open
Kostanos opened this issue Mar 17, 2023 · 0 comments
Open

eslint support #16

Kostanos opened this issue Mar 17, 2023 · 0 comments

Comments

@Kostanos
Copy link

Kostanos commented Mar 17, 2023

Hey, it seems eslint won't detect web-auth-library, meanwhile other modules works well.

my eslint config (simplified for the issue):

module.exports = {
  env: {
    browser: true,
    es2021: true,
  },
  extends: [
    'airbnb',
  ],
  plugins: [
  ],
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
  },
  rules: {
  },
};

image

As you may see in my screenshot, other modules works as expected .
And yes, I installed the module.
Here is a snap from may package-lock.json

...
    "node_modules/web-auth-library": {
      "version": "1.0.3",
      "resolved": "https://registry.npmjs.org/web-auth-library/-/web-auth-library-1.0.3.tgz",
      "integrity": "sha512-fBmEjJSrbmbD9EREwVlewyfSVkb3IzgTXEF0fzXo3miDywsxES1vwG4aJGNpuSSUorZAGBJNyyz5VFq2VFgudw==",
      "funding": [
        {
          "type": "github",
          "url": "https://github.com/sponsors/kriasoft"
        },
        {
          "type": "patreon",
          "url": "https://www.patreon.com/koistya"
        }
      ],
      "dependencies": {
        "jose": ">= 4.12.0 < 5.0.0",
        "rfc4648": "^1.5.2"
      }
    },
...

Any clue?

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

1 participant