Skip to content

Commit

Permalink
chore: extract package name from package.json for public interface (
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir authored Jan 6, 2025
1 parent db574c4 commit 495aa49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

"use strict";

const { version } = require("../package.json");
const { name, version } = require("../package.json");

//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------

module.exports = {
meta: {
name: "@eslint/js",
name,
version
},
configs: {
Expand Down

0 comments on commit 495aa49

Please sign in to comment.