Enhancement: Add serialization info to parser #6541
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
enhancement
New feature or request
package: parser
Issues related to @typescript-eslint/parser
Before You File a Proposal Please Confirm You Have Done The Following...
Relevant Package
parser
My proposal is suitable for this project
Description
Up until now, the flat config in ESLint was unable to serialize custom parsers, meaning that caching and
--print-config
would not work withtypescript-eslint/parser
. I just added a feature that allows parsers to export ameta
key that would provide serialization information, such as:This should be exported on the same object as
parse()
andparseForESLint()
.Fail
// not applicable
Pass
// not applicable
Additional Info
It seems like there may be some fields meant for rules in this template. :)
The text was updated successfully, but these errors were encountered: