Skip to content

eslint support #16

Open
Open
@Kostanos

Description

@Kostanos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions