mirror of
https://github.com/nodejs/node.git
synced 2025-08-17 22:58:52 +02: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>
12 lines
330 B
JavaScript
12 lines
330 B
JavaScript
'use strict'
|
|
|
|
var alphabetical = require('is-alphabetical')
|
|
var decimal = require('is-decimal')
|
|
|
|
module.exports = alphanumerical
|
|
|
|
// Check if the given character code, or the character code at the first
|
|
// character, is alphanumerical.
|
|
function alphanumerical(character) {
|
|
return alphabetical(character) || decimal(character)
|
|
}
|