eslint-plugin-n
Version:
Additional ESLint's rules for Node.js
35 lines (28 loc) • 1.18 kB
JavaScript
"use strict"
/**
* @typedef {(
* | import("@eslint-community/eslint-utils").READ
* | import("@eslint-community/eslint-utils").CALL
* | import("@eslint-community/eslint-utils").CONSTRUCT
* )} UTIL_SYMBOL
*/
/**
* @typedef SupportInfo
* @property {string[]} [experimental] The node versions in which experimental support was added
* @property {string[]} [supported] The node versions in which stable support was added
* @property {string[]} [deprecated] The node versions in which support was removed
*/
/**
* @typedef DeprecatedInfo
* @property {string} since the version when the API was deprecated.
* @property {string|{ name: string, supported: string }[]|null} replacedBy the text of substitute way.
* @property {string} [removed] the version when the API was removed.
*/
/** @typedef {import('@eslint-community/eslint-utils').TraceMap<DeprecatedInfo>} DeprecatedInfoTraceMap */
/** @typedef {import('@eslint-community/eslint-utils').TraceMap<SupportInfo>} SupportVersionTraceMap */
/**
* @typedef SupportVersionBuiltins
* @property {SupportVersionTraceMap} globals
* @property {SupportVersionTraceMap} modules
*/
module.exports = {}