kriasoft / kriasoft/web-auth-library

eslint support

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
117
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/1136702/225973996-3852b79f-c14b-4df4-b904-20961794eacc.png)

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report with the simplified ESLint configuration and the package-lock.json entry for web-auth-library. Trace why ESLint does not detect this installed module, and consider the issue complete when the package is detected consistently with the other installed modules.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.