eslint-plugin-n
Version:
Additional ESLint's rules for Node.js
54 lines (50 loc) • 1.17 kB
JavaScript
"use strict"
const { CALL, READ } = require("@eslint-community/eslint-utils")
/**
* @satisfies {import('../types.js').SupportVersionTraceMap}
*/
const repl = {
start: {
[ ]: { supported: ["0.1.91"] },
},
writer: {
[ ]: { supported: ["0.1.91"] },
},
REPLServer: {
[ ]: { supported: ["0.1.91"] },
[ ]: { deprecated: ["22.9.0"] },
},
REPL_MODE_MAGIC: {
[ ]: {
supported: ["4.0.0"],
deprecated: ["8.0.0"],
// removed: ['10.0.0'],
},
},
REPL_MODE_SLOPPY: {
[ ]: { supported: ["4.0.0"] },
},
REPL_MODE_STRICT: {
[ ]: { supported: ["4.0.0"] },
},
Recoverable: {
[ ]: { supported: ["6.2.0"] },
[ ]: { deprecated: ["22.9.0"] },
},
builtinModules: {
[ ]: { supported: ["14.5.0"] },
},
}
/**
* @satisfies {import('../types.js').SupportVersionTraceMap}
*/
module.exports = {
repl: {
[ ]: { supported: ["0.1.91"] },
...repl,
},
"node:repl": {
[ ]: { supported: ["14.13.1", "12.20.0"] },
...repl,
},
}