Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mysticatea/eslint-plugin-node
/ functions
Functions
232 in github.com/mysticatea/eslint-plugin-node
⨍
Functions
232
◇
Types & classes
8
↓ 1 callers
Function
parseOptions
* Parses the options. * @param {RuleContext} context The rule context. * @returns {{version:Range,ignores:Set<string>}} Parsed value.
lib/util/check-unsupported-builtins.js:24
↓ 1 callers
Function
parseWhiteList
* Creates a function which checks whether or not a given file should be ignored. * * @param {string[]|null} files - File names of whitelist. * @ret
lib/util/get-npmignore.js:81
↓ 1 callers
Function
readPackageJson
* Reads the `package.json` data in a given path. * * Don't cache the data. * * @param {string} dir - The path to a directory to read. * @returns
lib/util/get-package-json.js:21
↓ 1 callers
Function
renderFooter
* Render the document header of a given rule. * @param {RuleInfo} rule The rule information. * @returns {string} The document header.
scripts/update-docs-header-and-footer.js:57
↓ 1 callers
Function
renderHeader
* Render the document header of a given rule. * @param {RuleInfo} rule The rule information. * @returns {string} The document header.
scripts/update-docs-header-and-footer.js:24
↓ 1 callers
Function
supportedVersionToString
* Get the formatted text of a given supported version. * @param {SupportInfo} info The support info.
lib/util/check-unsupported-builtins.js:67
↓ 1 callers
Function
toReplaceMessage
* Makes a replacement message. * * @param {string|array|null} replacedBy - The text of substitute way. * @param {Range} version - The configured ve
lib/rules/no-deprecated-api.js:635
↓ 1 callers
Function
validateRegExpLiteral
* Validate RegExp syntax in a RegExp literal. * @param {ASTNode} node A Literal node to check. * @returns {void}
lib/rules/no-unsupported-features.js:1223
↓ 1 callers
Function
validateRegExpString
* Validate RegExp syntax in the first argument of `new RegExp()`. * @param {ASTNode} node A NewExpression node to check. * @returns
lib/rules/no-unsupported-features.js:1232
Function
"CallExpression > MemberExpression.callee[object.name = 'process'][property.name = 'exit']"
( node )
lib/rules/no-process-exit.js:26
Function
"Program:exit"
()
lib/rules/no-hide-core-modules.js:112
Function
"Program:exit"
()
lib/rules/no-path-concat.js:180
Function
"Program:exit"
()
lib/rules/no-unsupported-features.js:1251
Function
"Program:exit"
()
lib/rules/no-deprecated-api.js:754
Function
"Program:exit"
()
lib/rules/exports-style.js:283
Function
"Program:exit"
()
lib/rules/no-unsupported-features/node-builtins.js:364
Function
"Program:exit"
()
lib/rules/no-unsupported-features/es-builtins.js:176
Function
"Program:exit"
()
lib/rules/prefer-global/url.js:43
Function
"Program:exit"
()
lib/rules/prefer-global/buffer.js:44
Function
"Program:exit"
()
lib/rules/prefer-global/url-search-params.js:44
Function
"Program:exit"
()
lib/rules/prefer-global/text-encoder.js:44
Function
"Program:exit"
()
lib/rules/prefer-global/text-decoder.js:44
Function
"Program:exit"
()
lib/rules/prefer-global/process.js:41
Function
"Program:exit"
()
lib/rules/prefer-global/console.js:41
Function
"Program:exit"
()
lib/rules/prefer-promises/dns.js:52
Function
"Program:exit"
()
lib/rules/prefer-promises/fs.js:57
Function
"Program:exit"
()
lib/util/visit-import.js:61
Function
"Program:exit"
()
lib/util/visit-require.js:38
Function
ArrayPattern
(node)
lib/rules/no-unsupported-features.js:1401
Function
ArrowFunctionExpression
(node)
lib/rules/no-unsupported-features.js:1312
Function
AssignmentExpression
(node)
lib/rules/no-exports-assign.js:56
Function
AssignmentExpression
(node)
lib/rules/no-unsupported-features.js:1407
Function
AssignmentPattern
(node)
lib/rules/no-unsupported-features.js:1322
Function
AwaitExpression
(node)
lib/rules/no-unsupported-features.js:1413
Function
BinaryExpression
(node)
lib/rules/no-unsupported-features.js:1417
Function
CallExpression
(node)
lib/rules/callback-return.js:114
Function
CallExpression
(node)
lib/rules/global-require.js:70
Function
CallExpression
(node)
lib/rules/no-unsupported-features.js:1423
Function
CallExpression
(node)
lib/rules/no-callback-literal.js:30
Function
ClassDeclaration
(node)
lib/rules/no-unsupported-features.js:1370
Function
ClassExpression
(node)
lib/rules/no-unsupported-features.js:1378
Function
ExperimentalRestProperty
(node)
lib/rules/no-unsupported-features.js:1509
Function
ExperimentalSpreadProperty
(node)
lib/rules/no-unsupported-features.js:1513
Function
ExportAllDeclaration
(node)
lib/rules/no-unsupported-features.js:1525
Function
ExportDefaultDeclaration
(node)
lib/rules/no-unsupported-features.js:1529
Function
ExportNamedDeclaration
(node)
lib/rules/no-unsupported-features.js:1533
Function
ForOfStatement
(node)
lib/rules/no-unsupported-features.js:1386
Function
FunctionDeclaration
(node)
lib/rules/no-unsupported-features.js:1328
Function
FunctionExpression
(node)
lib/rules/no-unsupported-features.js:1347
Function
Identifier
(node)
lib/rules/no-unsupported-features.js:1429
Function
ImportDeclaration
(node)
lib/rules/no-unsupported-features.js:1537
Function
Literal
(node)
lib/rules/no-unsupported-features.js:1436
Function
MemberExpression
(node)
lib/rules/no-process-env.js:30
Function
MetaProperty
(node)
lib/rules/no-unsupported-features.js:1362
Function
NewExpression
(node)
lib/rules/no-unsupported-features.js:1452
Function
NewExpression
(node)
lib/rules/no-new-require.js:26
Function
ObjectPattern
(node)
lib/rules/no-unsupported-features.js:1464
Function
Program
(node)
lib/rules/shebang.js:116
Function
Program
(node)
lib/rules/no-unpublished-bin.js:55
Function
Property
(node)
lib/rules/no-unsupported-features.js:1470
Function
RestElement
(node)
lib/rules/no-unsupported-features.js:1483
Function
RestProperty
(node)
lib/rules/no-unsupported-features.js:1517
Function
SpreadElement
(node)
lib/rules/no-unsupported-features.js:1491
Function
SpreadProperty
(node)
lib/rules/no-unsupported-features.js:1521
Function
TemplateElement
(node)
lib/rules/no-unsupported-features.js:1499
Function
TemplateLiteral
(node)
lib/rules/no-unsupported-features.js:1505
Function
VariableDeclaration
(node)
lib/rules/no-unsupported-features.js:1393
Function
VariableDeclaration
(node)
lib/rules/no-mixed-requires.js:240
Function
[[ "ExportAllDeclaration", "ExportNamedDeclaration", "ImportDeclaration", "ImportExpression", ]]
(node)
lib/util/visit-import.js:38
Function
[selector]
(node)
lib/rules/no-sync.js:42
Function
checkForError
* Check to see if we're handling the error object properly. * @param {ASTNode} node The AST node to check. * @returns {void}
lib/rules/handle-callback-err.js:73
Method
constructor
* Initialize this cache instance.
lib/util/cache.js:18
Method
constructor
* Initialize this restriction. * @param {DefinitionData} def The definition of a restriction.
lib/util/check-restricted.js:36
Method
constructor
* Initialize this instance. * @param {ASTNode} node - The node of a `require()` or a module declaraiton. * @param {string} name - The name o
lib/util/import-target.js:56
Method
constructor
* Initialize this instance. * @param {RuleContext} context The rule context to report. * @param {{modules:object,globals:object}} trackMap T
lib/util/check-prefer-global.js:18
Function
convertPattern
* Creates test pattern. * * @param {{valid: object[], invalid: object[]}} retv - Actual test patterns. * @param {object} pattern - Original test pa
tests/lib/rules/no-unsupported-features.js:33
Function
create
(context)
lib/rules/no-sync.js:35
Function
create
(context)
lib/rules/no-restricted-require.js:58
Function
create
(context)
lib/rules/no-hide-core-modules.js:81
Function
create
(context)
lib/rules/no-path-concat.js:178
Function
create
(context)
lib/rules/no-exports-assign.js:54
Function
create
(context)
lib/rules/shebang.js:91
Function
create
(context)
lib/rules/file-extension-in-import.js:65
Function
create
(context)
lib/rules/no-missing-import.js:37
Function
create
(context)
lib/rules/no-extraneous-require.js:39
Function
create
(context)
lib/rules/no-process-exit.js:24
Function
create
(context)
lib/rules/no-extraneous-import.js:39
Function
create
(context)
lib/rules/no-restricted-import.js:57
Function
create
(context)
lib/rules/no-missing-require.js:37
Function
create
(context)
lib/rules/handle-callback-err.js:28
Function
create
(context)
lib/rules/no-process-env.js:28
Function
create
(context)
lib/rules/callback-return.js:29
Function
create
(context)
lib/rules/global-require.js:68
Function
create
(context)
lib/rules/no-unsupported-features.js:1080
Function
create
(context)
lib/rules/no-mixed-requires.js:108
Function
create
(context)
lib/rules/no-unpublished-import.js:39
Function
create
(context)
lib/rules/no-deprecated-api.js:724
Function
create
(context)
lib/rules/no-unpublished-require.js:39
Function
create
(context)
lib/rules/exports-style.js:166
Function
create
(context)
lib/rules/no-new-require.js:24
← previous
next →
101–200 of 232, ranked by callers