Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Use proper SPDX parsing #7

Open
noahnu opened this issue Apr 30, 2021 · 0 comments
Open

Use proper SPDX parsing #7

noahnu opened this issue Apr 30, 2021 · 0 comments

Comments

@noahnu
Copy link
Contributor

noahnu commented Apr 30, 2021

Is your feature request related to a problem? Please describe.

The "loose" part of loose mode refers to lower confidence in parsing an accurate license. If we switch to a proper SPDX parser, we can improve the confidence, and enable this by default.

Describe the solution you'd like

Use something like https://github.com/jslicense/spdx-expression-parse.js

Describe alternatives you've considered

In-house solution.

Additional context

We have to be careful bringing in other dependencies as it's bundled into the plugin, especially as it seems SPDX parser doesn't get many updates.

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

No branches or pull requests

1 participant