eslint / rewrite

Monorepo for the new version of ESLint
Apache License 2.0
169 stars 11 forks source link

feat: Add plugin-kit package #99

Closed nzakas closed 3 months ago

nzakas commented 4 months ago

Prerequisites checklist

What is the purpose of this pull request?

Created the new plugin-kit package

What changes did you make? (Give an overview)

Related Issues

fixes #97

Is there anything you'd like reviewers to focus on?

Just starting with the basics for this package. These are some commonalities I've found across the different languages. There will likely be more.

I slightly changed the interface of ConfigCommentParser to be more generic as the one in eslint/eslint was very specific to the way Espree represents comments. I tested this ConfigCommentParser in ESLint directly to ensure the new interface works correctly.