Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: eslint-parser-plain meta data #7

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

Garfield550
Copy link
Contributor

Description

This pull request includes several dependency updates and a minor code refactor. The most important changes are the version updates for eslint-parser-plain, @babel packages, and magic-string, along with a TypeScript interface addition and refactor in src/index.ts.

Dependency updates:

  • package.json: Updated eslint-parser-plain to version 0.1.1.
  • pnpm-lock.yaml: Updated versions for eslint-parser-plain, @babel/helper-string-parser, @babel/helper-validator-identifier, @babel/parser, @babel/types, and magic-string.

Code refactor:

  • src/index.ts: Added ESLintPluginFormat interface and refactored the parserPlain import and export to use this interface.

Linked Issues

Additional context

pnpm exec eslint --print-config ./examples/style.css
{
  "languageOptions": {
    "parser": "[email protected]"
    // ...
  }
}

@antfu antfu merged commit 8609e07 into antfu:main Jan 8, 2025
5 checks passed
@Garfield550 Garfield550 deleted the fix/eslint-parser-plain branch January 8, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants