azu / azu/eslint-plugin-typescript-compat

browserslist in package.json not working

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Status: PR Welcome Type: Bug
Dominant language
TypeScript
Stars
37
Forks
3
PR merge metrics
No merged PRs in 30d

Description

If I try and put the browserslist in package.json (as recommended) it does not work, and the plugin always uses the default supported browsers settings. The only way it works is to add browserslist to the settings in eslintrc.js

Have I missed some configuration option that enables this, or is there a bug? I am using the most up to date npm version of this package.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with browserslist in package.json, then compare it with the working browserslist setting in eslintrc.js. Inspect the plugin's configuration entry point and verify that package.json settings are read instead of the default supported browsers; done means the package.json configuration changes the plugin behavior as expected.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.