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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy