mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Greatly simplify how ESLint and its plugins are installed. PR-URL: https://github.com/nodejs/node/pull/53413 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
6 lines
111 B
JavaScript
6 lines
111 B
JavaScript
try {
|
|
module.exports = require("./lib/index.cjs");
|
|
} catch {
|
|
module.exports = require("./lib/index.js");
|
|
}
|