Skip to content

Commit 495aa49

Browse files
authored
chore: extract package name from package.json for public interface (#19314)
1 parent db574c4 commit 495aa49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/js/src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
"use strict";
77

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

1010
//------------------------------------------------------------------------------
1111
// Public Interface
1212
//------------------------------------------------------------------------------
1313

1414
module.exports = {
1515
meta: {
16-
name: "@eslint/js",
16+
name,
1717
version
1818
},
1919
configs: {

0 commit comments

Comments
 (0)