@jsse/eslint-config 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +228 -893
- package/dist/index.js +148 -78
- package/dist/{version-OtVn-Q4t.js → version-BMOOQznP.js} +1 -1
- package/package.json +17 -17
package/dist/index.d.ts
CHANGED
|
@@ -14,11 +14,8 @@ import * as _eslint_markdown0 from "@eslint/markdown";
|
|
|
14
14
|
import * as _stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
|
|
15
15
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
16
16
|
import * as eslint_plugin_react0 from "eslint-plugin-react";
|
|
17
|
-
import * as jsonc_eslint_parser0 from "jsonc-eslint-parser";
|
|
18
17
|
import * as eslint from "eslint";
|
|
19
18
|
import { Linter, Rule } from "eslint";
|
|
20
|
-
import * as eslint_plugin_jsonc_meta0 from "eslint-plugin-jsonc/meta";
|
|
21
|
-
import * as eslint_plugin_jsonc_types0 from "eslint-plugin-jsonc/types";
|
|
22
19
|
|
|
23
20
|
//#region src/generated/dts/builtins.d.ts
|
|
24
21
|
interface BuiltinsRuleOptions {
|
|
@@ -2952,6 +2949,7 @@ type AntfuConsistentListNewline = [] | [{
|
|
|
2952
2949
|
ExportNamedDeclaration?: boolean;
|
|
2953
2950
|
FunctionDeclaration?: boolean;
|
|
2954
2951
|
FunctionExpression?: boolean;
|
|
2952
|
+
IfStatement?: boolean;
|
|
2955
2953
|
ImportDeclaration?: boolean;
|
|
2956
2954
|
JSONArrayExpression?: boolean;
|
|
2957
2955
|
JSONObjectExpression?: boolean;
|
|
@@ -3988,6 +3986,7 @@ type JsdocTagLines = [] | ["always" | "any" | "never"] | ["always" | "any" | "ne
|
|
|
3988
3986
|
endLines?: number | null;
|
|
3989
3987
|
maxBlockLines?: number | null;
|
|
3990
3988
|
startLines?: number | null;
|
|
3989
|
+
startLinesWithNoTags?: number;
|
|
3991
3990
|
tags?: {
|
|
3992
3991
|
[k: string]: {
|
|
3993
3992
|
count?: number;
|
|
@@ -4424,6 +4423,7 @@ type JsoncObjectCurlyNewline = [] | [(("always" | "never") | {
|
|
|
4424
4423
|
type JsoncObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "never", {
|
|
4425
4424
|
arraysInObjects?: boolean;
|
|
4426
4425
|
objectsInObjects?: boolean;
|
|
4426
|
+
emptyObjects?: "ignore" | "always" | "never";
|
|
4427
4427
|
}]; // ----- jsonc/object-property-newline -----
|
|
4428
4428
|
type JsoncObjectPropertyNewline = [] | [{
|
|
4429
4429
|
allowAllPropertiesOnSameLine?: boolean;
|
|
@@ -4826,6 +4826,11 @@ interface NRuleOptions {
|
|
|
4826
4826
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
4827
4827
|
*/
|
|
4828
4828
|
"n/prefer-global/console"?: Linter.RuleEntry<NPreferGlobalConsole>;
|
|
4829
|
+
/**
|
|
4830
|
+
* enforce either `crypto` or `require("crypto").webcrypto`
|
|
4831
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
4832
|
+
*/
|
|
4833
|
+
"n/prefer-global/crypto"?: Linter.RuleEntry<NPreferGlobalCrypto>;
|
|
4829
4834
|
/**
|
|
4830
4835
|
* enforce either `process` or `require("process")`
|
|
4831
4836
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
@@ -4841,6 +4846,11 @@ interface NRuleOptions {
|
|
|
4841
4846
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
4842
4847
|
*/
|
|
4843
4848
|
"n/prefer-global/text-encoder"?: Linter.RuleEntry<NPreferGlobalTextEncoder>;
|
|
4849
|
+
/**
|
|
4850
|
+
* enforce either global timer functions or `require("timers")`
|
|
4851
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
4852
|
+
*/
|
|
4853
|
+
"n/prefer-global/timers"?: Linter.RuleEntry<NPreferGlobalTimers>;
|
|
4844
4854
|
/**
|
|
4845
4855
|
* enforce either `URL` or `require("url").URL`
|
|
4846
4856
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
@@ -5088,10 +5098,12 @@ type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
|
5088
5098
|
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
5089
5099
|
}]; // ----- n/prefer-global/buffer -----
|
|
5090
5100
|
type NPreferGlobalBuffer = [] | ["always" | "never"]; // ----- n/prefer-global/console -----
|
|
5091
|
-
type NPreferGlobalConsole = [] | ["always" | "never"]; // ----- n/prefer-global/
|
|
5101
|
+
type NPreferGlobalConsole = [] | ["always" | "never"]; // ----- n/prefer-global/crypto -----
|
|
5102
|
+
type NPreferGlobalCrypto = [] | ["always" | "never"]; // ----- n/prefer-global/process -----
|
|
5092
5103
|
type NPreferGlobalProcess = [] | ["always" | "never"]; // ----- n/prefer-global/text-decoder -----
|
|
5093
5104
|
type NPreferGlobalTextDecoder = [] | ["always" | "never"]; // ----- n/prefer-global/text-encoder -----
|
|
5094
|
-
type NPreferGlobalTextEncoder = [] | ["always" | "never"]; // ----- n/prefer-global/
|
|
5105
|
+
type NPreferGlobalTextEncoder = [] | ["always" | "never"]; // ----- n/prefer-global/timers -----
|
|
5106
|
+
type NPreferGlobalTimers = [] | ["always" | "never"]; // ----- n/prefer-global/url -----
|
|
5095
5107
|
type NPreferGlobalUrl = [] | ["always" | "never"]; // ----- n/prefer-global/url-search-params -----
|
|
5096
5108
|
type NPreferGlobalUrlSearchParams = [] | ["always" | "never"]; // ----- n/prefer-node-protocol -----
|
|
5097
5109
|
type NPreferNodeProtocol = [] | [{
|
|
@@ -9135,6 +9147,11 @@ interface StylisticRuleOptions {
|
|
|
9135
9147
|
* @see https://eslint.style/rules/eol-last
|
|
9136
9148
|
*/
|
|
9137
9149
|
"@stylistic/eol-last"?: Linter.RuleEntry<StylisticEolLast>;
|
|
9150
|
+
/**
|
|
9151
|
+
* Enforce consistent line break styles for JSX props
|
|
9152
|
+
* @see https://eslint.style/rules/jsx-props-style
|
|
9153
|
+
*/
|
|
9154
|
+
"@stylistic/exp-jsx-props-style"?: Linter.RuleEntry<StylisticExpJsxPropsStyle>;
|
|
9138
9155
|
/**
|
|
9139
9156
|
* Enforce consistent spacing and line break styles inside brackets.
|
|
9140
9157
|
* @see https://eslint.style/rules/list-style
|
|
@@ -9717,15 +9734,24 @@ type StylisticCurlyNewline = [] | [("always" | "never") | {
|
|
|
9717
9734
|
consistent?: boolean;
|
|
9718
9735
|
}]; // ----- @stylistic/dot-location -----
|
|
9719
9736
|
type StylisticDotLocation = [] | ["object" | "property"]; // ----- @stylistic/eol-last -----
|
|
9720
|
-
type StylisticEolLast = [] | ["always" | "never" | "unix" | "windows"]; // ----- @stylistic/exp-
|
|
9737
|
+
type StylisticEolLast = [] | ["always" | "never" | "unix" | "windows"]; // ----- @stylistic/exp-jsx-props-style -----
|
|
9738
|
+
type StylisticExpJsxPropsStyle = [] | [{
|
|
9739
|
+
singleLine?: {
|
|
9740
|
+
maxItems?: number;
|
|
9741
|
+
};
|
|
9742
|
+
multiLine?: {
|
|
9743
|
+
minItems?: number;
|
|
9744
|
+
maxItemsPerLine?: number;
|
|
9745
|
+
};
|
|
9746
|
+
}]; // ----- @stylistic/exp-list-style -----
|
|
9721
9747
|
type StylisticExpListStyle = [] | [{
|
|
9722
9748
|
singleLine?: _StylisticExpListStyle_SingleLineConfig;
|
|
9723
9749
|
multiLine?: _StylisticExpListStyle_MultiLineConfig;
|
|
9724
9750
|
overrides?: {
|
|
9751
|
+
"()"?: _StylisticExpListStyle_BaseConfig;
|
|
9725
9752
|
"[]"?: _StylisticExpListStyle_BaseConfig;
|
|
9726
9753
|
"{}"?: _StylisticExpListStyle_BaseConfig;
|
|
9727
9754
|
"<>"?: _StylisticExpListStyle_BaseConfig;
|
|
9728
|
-
"()"?: _StylisticExpListStyle_BaseConfig;
|
|
9729
9755
|
ArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9730
9756
|
ArrayPattern?: _StylisticExpListStyle_BaseConfig;
|
|
9731
9757
|
ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig;
|
|
@@ -9733,21 +9759,22 @@ type StylisticExpListStyle = [] | [{
|
|
|
9733
9759
|
ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
9734
9760
|
FunctionDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
9735
9761
|
FunctionExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9736
|
-
|
|
9762
|
+
IfStatement?: _StylisticExpListStyle_BaseConfig;
|
|
9737
9763
|
ImportAttributes?: _StylisticExpListStyle_BaseConfig;
|
|
9764
|
+
ImportDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
9765
|
+
JSONArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9766
|
+
JSONObjectExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9738
9767
|
NewExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9739
9768
|
ObjectExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9740
9769
|
ObjectPattern?: _StylisticExpListStyle_BaseConfig;
|
|
9741
9770
|
TSDeclareFunction?: _StylisticExpListStyle_BaseConfig;
|
|
9771
|
+
TSEnumBody?: _StylisticExpListStyle_BaseConfig;
|
|
9742
9772
|
TSFunctionType?: _StylisticExpListStyle_BaseConfig;
|
|
9743
9773
|
TSInterfaceBody?: _StylisticExpListStyle_BaseConfig;
|
|
9744
|
-
TSEnumBody?: _StylisticExpListStyle_BaseConfig;
|
|
9745
9774
|
TSTupleType?: _StylisticExpListStyle_BaseConfig;
|
|
9746
9775
|
TSTypeLiteral?: _StylisticExpListStyle_BaseConfig;
|
|
9747
9776
|
TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
9748
9777
|
TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig;
|
|
9749
|
-
JSONArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9750
|
-
JSONObjectExpression?: _StylisticExpListStyle_BaseConfig;
|
|
9751
9778
|
};
|
|
9752
9779
|
}];
|
|
9753
9780
|
interface _StylisticExpListStyle_SingleLineConfig {
|
|
@@ -10608,13 +10635,17 @@ type StylisticPaddedBlocks = [] | [("always" | "never" | "start" | "end") | {
|
|
|
10608
10635
|
allowSingleLineBlocks?: boolean;
|
|
10609
10636
|
}]; // ----- @stylistic/padding-line-between-statements -----
|
|
10610
10637
|
type _StylisticPaddingLineBetweenStatementsPaddingType = "any" | "never" | "always";
|
|
10611
|
-
type _StylisticPaddingLineBetweenStatementsStatementOption =
|
|
10638
|
+
type _StylisticPaddingLineBetweenStatementsStatementOption = _StylisticPaddingLineBetweenStatementsStatementMatcher | [_StylisticPaddingLineBetweenStatementsStatementMatcher, ..._StylisticPaddingLineBetweenStatementsStatementMatcher[]];
|
|
10639
|
+
type _StylisticPaddingLineBetweenStatementsStatementMatcher = _StylisticPaddingLineBetweenStatementsStatementType | _StylisticPaddingLineBetweenStatements_SelectorOption;
|
|
10612
10640
|
type _StylisticPaddingLineBetweenStatementsStatementType = "*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type";
|
|
10613
10641
|
type StylisticPaddingLineBetweenStatements = {
|
|
10614
10642
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
10615
10643
|
prev: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
10616
10644
|
next: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
10617
|
-
}[];
|
|
10645
|
+
}[];
|
|
10646
|
+
interface _StylisticPaddingLineBetweenStatements_SelectorOption {
|
|
10647
|
+
selector: string;
|
|
10648
|
+
} // ----- @stylistic/quote-props -----
|
|
10618
10649
|
type StylisticQuoteProps = [] | ["always" | "as-needed" | "consistent" | "consistent-as-needed"] | [] | ["always" | "as-needed" | "consistent" | "consistent-as-needed"] | ["always" | "as-needed" | "consistent" | "consistent-as-needed", {
|
|
10619
10650
|
keywords?: boolean;
|
|
10620
10651
|
unnecessary?: boolean;
|
|
@@ -10733,11 +10764,21 @@ interface TomlRuleOptions {
|
|
|
10733
10764
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
|
|
10734
10765
|
*/
|
|
10735
10766
|
"toml/indent"?: Linter.RuleEntry<TomlIndent>;
|
|
10767
|
+
/**
|
|
10768
|
+
* enforce linebreaks after opening and before closing braces
|
|
10769
|
+
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-newline.html
|
|
10770
|
+
*/
|
|
10771
|
+
"toml/inline-table-curly-newline"?: Linter.RuleEntry<TomlInlineTableCurlyNewline>;
|
|
10736
10772
|
/**
|
|
10737
10773
|
* enforce consistent spacing inside braces
|
|
10738
10774
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
|
|
10739
10775
|
*/
|
|
10740
10776
|
"toml/inline-table-curly-spacing"?: Linter.RuleEntry<TomlInlineTableCurlySpacing>;
|
|
10777
|
+
/**
|
|
10778
|
+
* enforce placing inline table key-value pairs on separate lines
|
|
10779
|
+
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-key-value-newline.html
|
|
10780
|
+
*/
|
|
10781
|
+
"toml/inline-table-key-value-newline"?: Linter.RuleEntry<TomlInlineTableKeyValueNewline>;
|
|
10741
10782
|
/**
|
|
10742
10783
|
* enforce consistent spacing between keys and values in key/value pairs
|
|
10743
10784
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
|
|
@@ -10848,10 +10889,19 @@ type TomlCommaStyle = [] | ["first" | "last"] | ["first" | "last", {
|
|
|
10848
10889
|
type TomlIndent = [] | ["tab" | number] | ["tab" | number, {
|
|
10849
10890
|
subTables?: number;
|
|
10850
10891
|
keyValuePairs?: number;
|
|
10892
|
+
}]; // ----- toml/inline-table-curly-newline -----
|
|
10893
|
+
type TomlInlineTableCurlyNewline = [] | [("always" | "never") | {
|
|
10894
|
+
multiline?: boolean;
|
|
10895
|
+
minProperties?: number;
|
|
10896
|
+
consistent?: boolean;
|
|
10851
10897
|
}]; // ----- toml/inline-table-curly-spacing -----
|
|
10852
10898
|
type TomlInlineTableCurlySpacing = [] | ["always" | "never"] | ["always" | "never", {
|
|
10853
10899
|
arraysInObjects?: boolean;
|
|
10854
10900
|
objectsInObjects?: boolean;
|
|
10901
|
+
emptyObjects?: "ignore" | "always" | "never";
|
|
10902
|
+
}]; // ----- toml/inline-table-key-value-newline -----
|
|
10903
|
+
type TomlInlineTableKeyValueNewline = [] | [{
|
|
10904
|
+
allowAllPropertiesOnSameLine?: boolean;
|
|
10855
10905
|
}]; // ----- toml/key-spacing -----
|
|
10856
10906
|
type TomlKeySpacing = [] | [{
|
|
10857
10907
|
align?: ("equal" | "value") | {
|
|
@@ -11411,7 +11461,7 @@ interface TypescriptRuleOptions {
|
|
|
11411
11461
|
* Disallow default values that will never be used
|
|
11412
11462
|
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
11413
11463
|
*/
|
|
11414
|
-
"@typescript-eslint/no-useless-default-assignment"?: Linter.RuleEntry<
|
|
11464
|
+
"@typescript-eslint/no-useless-default-assignment"?: Linter.RuleEntry<TypescriptEslintNoUselessDefaultAssignment>;
|
|
11415
11465
|
/**
|
|
11416
11466
|
* Disallow empty exports that don't change anything in a module file
|
|
11417
11467
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -12352,6 +12402,9 @@ type TypescriptEslintNoUseBeforeDefine = [] | ["nofunc" | {
|
|
|
12352
12402
|
ignoreTypeReferences?: boolean;
|
|
12353
12403
|
typedefs?: boolean;
|
|
12354
12404
|
variables?: boolean;
|
|
12405
|
+
}]; // ----- @typescript-eslint/no-useless-default-assignment -----
|
|
12406
|
+
type TypescriptEslintNoUselessDefaultAssignment = [] | [{
|
|
12407
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
12355
12408
|
}]; // ----- @typescript-eslint/no-var-requires -----
|
|
12356
12409
|
type TypescriptEslintNoVarRequires = [] | [{
|
|
12357
12410
|
allow?: string[];
|
|
@@ -12567,725 +12620,730 @@ type ImportPreferDefaultExport = [] | [{
|
|
|
12567
12620
|
interface UnicornRuleOptions {
|
|
12568
12621
|
/**
|
|
12569
12622
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
12570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12623
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
|
|
12571
12624
|
*/
|
|
12572
12625
|
"unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
12573
12626
|
/**
|
|
12574
12627
|
* Enforce a specific parameter name in catch clauses.
|
|
12575
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12628
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
|
|
12576
12629
|
*/
|
|
12577
12630
|
"unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
12578
12631
|
/**
|
|
12579
12632
|
* Enforce consistent assertion style with `node:assert`.
|
|
12580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12633
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
|
|
12581
12634
|
*/
|
|
12582
12635
|
"unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
|
|
12583
12636
|
/**
|
|
12584
12637
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
12585
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12638
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
|
|
12586
12639
|
*/
|
|
12587
12640
|
"unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
|
|
12588
12641
|
/**
|
|
12589
12642
|
* Use destructured variables over properties.
|
|
12590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12643
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
|
|
12591
12644
|
*/
|
|
12592
12645
|
"unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
|
|
12593
12646
|
/**
|
|
12594
12647
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
12595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12648
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
|
|
12596
12649
|
*/
|
|
12597
12650
|
"unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
|
|
12598
12651
|
/**
|
|
12599
12652
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
12600
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12653
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
|
|
12601
12654
|
*/
|
|
12602
12655
|
"unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
|
|
12603
12656
|
/**
|
|
12604
12657
|
* Move function definitions to the highest possible scope.
|
|
12605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12658
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
|
|
12606
12659
|
*/
|
|
12607
12660
|
"unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
12608
12661
|
/**
|
|
12609
12662
|
* Enforce correct `Error` subclassing.
|
|
12610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12663
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
|
|
12611
12664
|
*/
|
|
12612
12665
|
"unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
|
|
12613
12666
|
/**
|
|
12614
12667
|
* Enforce no spaces between braces.
|
|
12615
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12668
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
|
|
12616
12669
|
*/
|
|
12617
12670
|
"unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
|
|
12618
12671
|
/**
|
|
12619
12672
|
* Enforce passing a `message` value when creating a built-in error.
|
|
12620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12673
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
|
|
12621
12674
|
*/
|
|
12622
12675
|
"unicorn/error-message"?: Linter.RuleEntry<[]>;
|
|
12623
12676
|
/**
|
|
12624
12677
|
* Require escape sequences to use uppercase or lowercase values.
|
|
12625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12678
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
|
|
12626
12679
|
*/
|
|
12627
12680
|
"unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
12628
12681
|
/**
|
|
12629
12682
|
* Add expiration conditions to TODO comments.
|
|
12630
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12683
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
|
|
12631
12684
|
*/
|
|
12632
12685
|
"unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
12633
12686
|
/**
|
|
12634
12687
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
12635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12688
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
|
|
12636
12689
|
*/
|
|
12637
12690
|
"unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
12638
12691
|
/**
|
|
12639
12692
|
* Enforce a case style for filenames.
|
|
12640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12693
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
|
|
12641
12694
|
*/
|
|
12642
12695
|
"unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
12643
12696
|
/**
|
|
12644
12697
|
* Enforce specific import styles per module.
|
|
12645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12698
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
|
|
12646
12699
|
*/
|
|
12647
12700
|
"unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
|
|
12701
|
+
/**
|
|
12702
|
+
* Prevent usage of variables from outside the scope of isolated functions.
|
|
12703
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
|
|
12704
|
+
*/
|
|
12705
|
+
"unicorn/isolated-functions"?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
12648
12706
|
/**
|
|
12649
12707
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
12650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12708
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
|
|
12651
12709
|
*/
|
|
12652
12710
|
"unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
|
|
12653
12711
|
/**
|
|
12654
12712
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
12655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12713
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
12656
12714
|
*/
|
|
12657
12715
|
"unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
|
|
12658
12716
|
/**
|
|
12659
12717
|
* Disallow recursive access to `this` within getters and setters.
|
|
12660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12718
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
|
|
12661
12719
|
*/
|
|
12662
12720
|
"unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
|
|
12663
12721
|
/**
|
|
12664
12722
|
* Disallow anonymous functions and classes as the default export.
|
|
12665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12723
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
|
|
12666
12724
|
*/
|
|
12667
12725
|
"unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
|
|
12668
12726
|
/**
|
|
12669
12727
|
* Prevent passing a function reference directly to iterator methods.
|
|
12670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12728
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
|
|
12671
12729
|
*/
|
|
12672
12730
|
"unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
|
|
12673
12731
|
/**
|
|
12674
12732
|
* Prefer `for…of` over the `forEach` method.
|
|
12675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12733
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
|
|
12676
12734
|
*/
|
|
12677
12735
|
"unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
|
|
12678
12736
|
/**
|
|
12679
12737
|
* Disallow using the `this` argument in array methods.
|
|
12680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12738
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
|
|
12681
12739
|
*/
|
|
12682
12740
|
"unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
|
|
12683
12741
|
/**
|
|
12684
12742
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
12685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12743
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
12686
12744
|
* @deprecated
|
|
12687
12745
|
*/
|
|
12688
12746
|
"unicorn/no-array-push-push"?: Linter.RuleEntry<[]>;
|
|
12689
12747
|
/**
|
|
12690
12748
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
12691
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
|
|
12692
12750
|
*/
|
|
12693
12751
|
"unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
12694
12752
|
/**
|
|
12695
12753
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
12696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
|
|
12697
12755
|
*/
|
|
12698
12756
|
"unicorn/no-array-reverse"?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
12699
12757
|
/**
|
|
12700
12758
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
12701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
|
|
12702
12760
|
*/
|
|
12703
12761
|
"unicorn/no-array-sort"?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
12704
12762
|
/**
|
|
12705
12763
|
* Disallow member access from await expression.
|
|
12706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
|
|
12707
12765
|
*/
|
|
12708
12766
|
"unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
|
|
12709
12767
|
/**
|
|
12710
12768
|
* Disallow using `await` in `Promise` method parameters.
|
|
12711
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
|
|
12712
12770
|
*/
|
|
12713
12771
|
"unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
|
|
12714
12772
|
/**
|
|
12715
12773
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
12716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
|
|
12717
12775
|
*/
|
|
12718
12776
|
"unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
|
|
12719
12777
|
/**
|
|
12720
12778
|
* Do not use `document.cookie` directly.
|
|
12721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
|
|
12722
12780
|
*/
|
|
12723
12781
|
"unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
|
|
12724
12782
|
/**
|
|
12725
12783
|
* Disallow empty files.
|
|
12726
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
|
|
12727
12785
|
*/
|
|
12728
12786
|
"unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
|
|
12729
12787
|
/**
|
|
12730
12788
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
12731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
|
|
12732
12790
|
*/
|
|
12733
12791
|
"unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
|
|
12734
12792
|
/**
|
|
12735
12793
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
12736
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
|
|
12737
12795
|
*/
|
|
12738
12796
|
"unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
|
|
12739
12797
|
/**
|
|
12740
12798
|
* Disallow immediate mutation after variable assignment.
|
|
12741
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
|
|
12742
12800
|
*/
|
|
12743
12801
|
"unicorn/no-immediate-mutation"?: Linter.RuleEntry<[]>;
|
|
12744
12802
|
/**
|
|
12745
12803
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
12746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
12747
12805
|
* @deprecated
|
|
12748
12806
|
*/
|
|
12749
12807
|
"unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
|
|
12750
12808
|
/**
|
|
12751
12809
|
* Disallow `instanceof` with built-in objects
|
|
12752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
|
|
12753
12811
|
*/
|
|
12754
12812
|
"unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
12755
12813
|
/**
|
|
12756
12814
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
12757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
|
|
12758
12816
|
*/
|
|
12759
12817
|
"unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
|
|
12760
12818
|
/**
|
|
12761
12819
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
12762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
12763
12821
|
*/
|
|
12764
12822
|
"unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
|
|
12765
12823
|
/**
|
|
12766
12824
|
* Disallow identifiers starting with `new` or `class`.
|
|
12767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
|
|
12768
12826
|
*/
|
|
12769
12827
|
"unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
12770
12828
|
/**
|
|
12771
12829
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
12772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12830
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
12773
12831
|
* @deprecated
|
|
12774
12832
|
*/
|
|
12775
12833
|
"unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
|
|
12776
12834
|
/**
|
|
12777
12835
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
12778
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
|
|
12779
12837
|
*/
|
|
12780
12838
|
"unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
|
|
12781
12839
|
/**
|
|
12782
12840
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
12783
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
12784
12842
|
*/
|
|
12785
12843
|
"unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
|
|
12786
12844
|
/**
|
|
12787
12845
|
* Disallow named usage of default import and export.
|
|
12788
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
|
|
12789
12847
|
*/
|
|
12790
12848
|
"unicorn/no-named-default"?: Linter.RuleEntry<[]>;
|
|
12791
12849
|
/**
|
|
12792
12850
|
* Disallow negated conditions.
|
|
12793
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
|
|
12794
12852
|
*/
|
|
12795
12853
|
"unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
|
|
12796
12854
|
/**
|
|
12797
12855
|
* Disallow negated expression in equality check.
|
|
12798
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
|
|
12799
12857
|
*/
|
|
12800
12858
|
"unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
|
|
12801
12859
|
/**
|
|
12802
12860
|
* Disallow nested ternary expressions.
|
|
12803
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
|
|
12804
12862
|
*/
|
|
12805
12863
|
"unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
|
|
12806
12864
|
/**
|
|
12807
12865
|
* Disallow `new Array()`.
|
|
12808
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
|
|
12809
12867
|
*/
|
|
12810
12868
|
"unicorn/no-new-array"?: Linter.RuleEntry<[]>;
|
|
12811
12869
|
/**
|
|
12812
12870
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
12813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
|
|
12814
12872
|
*/
|
|
12815
12873
|
"unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
|
|
12816
12874
|
/**
|
|
12817
12875
|
* Disallow the use of the `null` literal.
|
|
12818
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
|
|
12819
12877
|
*/
|
|
12820
12878
|
"unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
|
|
12821
12879
|
/**
|
|
12822
12880
|
* Disallow the use of objects as default parameters.
|
|
12823
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
|
|
12824
12882
|
*/
|
|
12825
12883
|
"unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
|
|
12826
12884
|
/**
|
|
12827
12885
|
* Disallow `process.exit()`.
|
|
12828
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
|
|
12829
12887
|
*/
|
|
12830
12888
|
"unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
|
|
12831
12889
|
/**
|
|
12832
12890
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
12833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
12834
12892
|
*/
|
|
12835
12893
|
"unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
|
|
12836
12894
|
/**
|
|
12837
12895
|
* Disallow classes that only have static members.
|
|
12838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
|
|
12839
12897
|
*/
|
|
12840
12898
|
"unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
|
|
12841
12899
|
/**
|
|
12842
12900
|
* Disallow `then` property.
|
|
12843
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
|
|
12844
12902
|
*/
|
|
12845
12903
|
"unicorn/no-thenable"?: Linter.RuleEntry<[]>;
|
|
12846
12904
|
/**
|
|
12847
12905
|
* Disallow assigning `this` to a variable.
|
|
12848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
|
|
12849
12907
|
*/
|
|
12850
12908
|
"unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
|
|
12851
12909
|
/**
|
|
12852
12910
|
* Disallow comparing `undefined` using `typeof`.
|
|
12853
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
|
|
12854
12912
|
*/
|
|
12855
12913
|
"unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
12856
12914
|
/**
|
|
12857
12915
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
12858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
12859
12917
|
*/
|
|
12860
12918
|
"unicorn/no-unnecessary-array-flat-depth"?: Linter.RuleEntry<[]>;
|
|
12861
12919
|
/**
|
|
12862
12920
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
12863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
12864
12922
|
*/
|
|
12865
12923
|
"unicorn/no-unnecessary-array-splice-count"?: Linter.RuleEntry<[]>;
|
|
12866
12924
|
/**
|
|
12867
12925
|
* Disallow awaiting non-promise values.
|
|
12868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
|
|
12869
12927
|
*/
|
|
12870
12928
|
"unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
|
|
12871
12929
|
/**
|
|
12872
12930
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
12873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
12874
12932
|
*/
|
|
12875
12933
|
"unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
12876
12934
|
/**
|
|
12877
12935
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
12878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
12879
12937
|
*/
|
|
12880
12938
|
"unicorn/no-unnecessary-slice-end"?: Linter.RuleEntry<[]>;
|
|
12881
12939
|
/**
|
|
12882
12940
|
* Disallow unreadable array destructuring.
|
|
12883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
12884
12942
|
*/
|
|
12885
12943
|
"unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
|
|
12886
12944
|
/**
|
|
12887
12945
|
* Disallow unreadable IIFEs.
|
|
12888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
|
|
12889
12947
|
*/
|
|
12890
12948
|
"unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
|
|
12891
12949
|
/**
|
|
12892
12950
|
* Disallow unused object properties.
|
|
12893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
|
|
12894
12952
|
*/
|
|
12895
12953
|
"unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
|
|
12896
12954
|
/**
|
|
12897
12955
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
12898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
|
|
12899
12957
|
*/
|
|
12900
12958
|
"unicorn/no-useless-collection-argument"?: Linter.RuleEntry<[]>;
|
|
12901
12959
|
/**
|
|
12902
12960
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
12903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
12904
12962
|
*/
|
|
12905
12963
|
"unicorn/no-useless-error-capture-stack-trace"?: Linter.RuleEntry<[]>;
|
|
12906
12964
|
/**
|
|
12907
12965
|
* Disallow useless fallback when spreading in object literals.
|
|
12908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
12909
12967
|
*/
|
|
12910
12968
|
"unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
|
|
12911
12969
|
/**
|
|
12912
12970
|
* Disallow useless array length check.
|
|
12913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
|
|
12914
12972
|
*/
|
|
12915
12973
|
"unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
|
|
12916
12974
|
/**
|
|
12917
12975
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
12918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
12919
12977
|
*/
|
|
12920
12978
|
"unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
|
|
12921
12979
|
/**
|
|
12922
12980
|
* Disallow unnecessary spread.
|
|
12923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
|
|
12924
12982
|
*/
|
|
12925
12983
|
"unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
|
|
12926
12984
|
/**
|
|
12927
12985
|
* Disallow useless case in switch statements.
|
|
12928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
|
|
12929
12987
|
*/
|
|
12930
12988
|
"unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
|
|
12931
12989
|
/**
|
|
12932
12990
|
* Disallow useless `undefined`.
|
|
12933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
|
|
12934
12992
|
*/
|
|
12935
12993
|
"unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
12936
12994
|
/**
|
|
12937
12995
|
* Disallow number literals with zero fractions or dangling dots.
|
|
12938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
|
|
12939
12997
|
*/
|
|
12940
12998
|
"unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
|
|
12941
12999
|
/**
|
|
12942
13000
|
* Enforce proper case for numeric literals.
|
|
12943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
|
|
12944
13002
|
*/
|
|
12945
13003
|
"unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
12946
13004
|
/**
|
|
12947
13005
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
12948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
|
|
12949
13007
|
*/
|
|
12950
13008
|
"unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
12951
13009
|
/**
|
|
12952
13010
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
12953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
|
|
12954
13012
|
*/
|
|
12955
13013
|
"unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
12956
13014
|
/**
|
|
12957
13015
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
12958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
|
|
12959
13017
|
*/
|
|
12960
13018
|
"unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
12961
13019
|
/**
|
|
12962
13020
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
12963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
|
|
12964
13022
|
*/
|
|
12965
13023
|
"unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
12966
13024
|
/**
|
|
12967
13025
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
12968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
|
|
12969
13027
|
*/
|
|
12970
13028
|
"unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
|
|
12971
13029
|
/**
|
|
12972
13030
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
12973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
|
|
12974
13032
|
*/
|
|
12975
13033
|
"unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
|
|
12976
13034
|
/**
|
|
12977
13035
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
12978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
|
|
12979
13037
|
*/
|
|
12980
13038
|
"unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
|
|
12981
13039
|
/**
|
|
12982
13040
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
12983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
|
|
12984
13042
|
*/
|
|
12985
13043
|
"unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
|
|
12986
13044
|
/**
|
|
12987
13045
|
* Prefer `BigInt` literals over the constructor.
|
|
12988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
|
|
12989
13047
|
*/
|
|
12990
13048
|
"unicorn/prefer-bigint-literals"?: Linter.RuleEntry<[]>;
|
|
12991
13049
|
/**
|
|
12992
13050
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
12993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
12994
13052
|
*/
|
|
12995
13053
|
"unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
|
|
12996
13054
|
/**
|
|
12997
13055
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
12998
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
|
|
12999
13057
|
*/
|
|
13000
13058
|
"unicorn/prefer-class-fields"?: Linter.RuleEntry<[]>;
|
|
13001
13059
|
/**
|
|
13002
13060
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
13003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
|
|
13004
13062
|
*/
|
|
13005
13063
|
"unicorn/prefer-classlist-toggle"?: Linter.RuleEntry<[]>;
|
|
13006
13064
|
/**
|
|
13007
13065
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
13008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
|
|
13009
13067
|
*/
|
|
13010
13068
|
"unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
|
|
13011
13069
|
/**
|
|
13012
13070
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
13013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
|
|
13014
13072
|
*/
|
|
13015
13073
|
"unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
|
|
13016
13074
|
/**
|
|
13017
13075
|
* Prefer default parameters over reassignment.
|
|
13018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
|
|
13019
13077
|
*/
|
|
13020
13078
|
"unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
|
|
13021
13079
|
/**
|
|
13022
13080
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
13023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
|
|
13024
13082
|
*/
|
|
13025
13083
|
"unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
|
|
13026
13084
|
/**
|
|
13027
13085
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
13028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
13029
13087
|
*/
|
|
13030
13088
|
"unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
|
|
13031
13089
|
/**
|
|
13032
13090
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
13033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
|
|
13034
13092
|
*/
|
|
13035
13093
|
"unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
|
|
13036
13094
|
/**
|
|
13037
13095
|
* Prefer `.textContent` over `.innerText`.
|
|
13038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
13039
13097
|
*/
|
|
13040
13098
|
"unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
|
|
13041
13099
|
/**
|
|
13042
13100
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
13043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
|
|
13044
13102
|
*/
|
|
13045
13103
|
"unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
|
|
13046
13104
|
/**
|
|
13047
13105
|
* Prefer `export…from` when re-exporting.
|
|
13048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
|
|
13049
13107
|
*/
|
|
13050
13108
|
"unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
13051
13109
|
/**
|
|
13052
13110
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
13053
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
|
|
13054
13112
|
*/
|
|
13055
13113
|
"unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
|
|
13056
13114
|
/**
|
|
13057
13115
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
13058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
|
|
13059
13117
|
*/
|
|
13060
13118
|
"unicorn/prefer-import-meta-properties"?: Linter.RuleEntry<[]>;
|
|
13061
13119
|
/**
|
|
13062
13120
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
13063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
|
|
13064
13122
|
*/
|
|
13065
13123
|
"unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
|
|
13066
13124
|
/**
|
|
13067
13125
|
* Prefer reading a JSON file as a buffer.
|
|
13068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
13069
13127
|
*/
|
|
13070
13128
|
"unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
|
|
13071
13129
|
/**
|
|
13072
13130
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
13073
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
13074
13132
|
*/
|
|
13075
13133
|
"unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
|
|
13076
13134
|
/**
|
|
13077
13135
|
* Prefer using a logical operator over a ternary.
|
|
13078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
13079
13137
|
*/
|
|
13080
13138
|
"unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
|
|
13081
13139
|
/**
|
|
13082
13140
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
13083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
|
|
13084
13142
|
*/
|
|
13085
13143
|
"unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
|
|
13086
13144
|
/**
|
|
13087
13145
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
13088
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
|
|
13089
13147
|
*/
|
|
13090
13148
|
"unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
|
|
13091
13149
|
/**
|
|
13092
13150
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
13093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
13094
13152
|
*/
|
|
13095
13153
|
"unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
|
|
13096
13154
|
/**
|
|
13097
13155
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
13098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
|
|
13099
13157
|
*/
|
|
13100
13158
|
"unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
|
|
13101
13159
|
/**
|
|
13102
13160
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
13103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
|
|
13104
13162
|
*/
|
|
13105
13163
|
"unicorn/prefer-module"?: Linter.RuleEntry<[]>;
|
|
13106
13164
|
/**
|
|
13107
13165
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
13108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
13109
13167
|
*/
|
|
13110
13168
|
"unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
|
|
13111
13169
|
/**
|
|
13112
13170
|
* Prefer negative index over `.length - index` when possible.
|
|
13113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
|
|
13114
13172
|
*/
|
|
13115
13173
|
"unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
|
|
13116
13174
|
/**
|
|
13117
13175
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
13118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
|
|
13119
13177
|
*/
|
|
13120
13178
|
"unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
|
|
13121
13179
|
/**
|
|
13122
13180
|
* Prefer `Number` static properties over global ones.
|
|
13123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
|
|
13124
13182
|
*/
|
|
13125
13183
|
"unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
13126
13184
|
/**
|
|
13127
13185
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
13128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
|
|
13129
13187
|
*/
|
|
13130
13188
|
"unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
13131
13189
|
/**
|
|
13132
13190
|
* Prefer omitting the `catch` binding parameter.
|
|
13133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
13134
13192
|
*/
|
|
13135
13193
|
"unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
|
|
13136
13194
|
/**
|
|
13137
13195
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
13138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
|
|
13139
13197
|
*/
|
|
13140
13198
|
"unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
|
|
13141
13199
|
/**
|
|
13142
13200
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
13143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
|
|
13144
13202
|
*/
|
|
13145
13203
|
"unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
|
|
13146
13204
|
/**
|
|
13147
13205
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
13148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
|
|
13149
13207
|
*/
|
|
13150
13208
|
"unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
|
|
13151
13209
|
/**
|
|
13152
13210
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
13153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
|
|
13154
13212
|
*/
|
|
13155
13213
|
"unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
|
|
13156
13214
|
/**
|
|
13157
13215
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
13158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
|
|
13159
13217
|
*/
|
|
13160
13218
|
"unicorn/prefer-response-static-json"?: Linter.RuleEntry<[]>;
|
|
13161
13219
|
/**
|
|
13162
13220
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
13163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
|
|
13164
13222
|
*/
|
|
13165
13223
|
"unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
|
|
13166
13224
|
/**
|
|
13167
13225
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
13168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
|
|
13169
13227
|
*/
|
|
13170
13228
|
"unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
|
|
13171
13229
|
/**
|
|
13172
13230
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
13173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
|
|
13174
13232
|
*/
|
|
13175
13233
|
"unicorn/prefer-single-call"?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
13176
13234
|
/**
|
|
13177
13235
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
13178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
|
|
13179
13237
|
*/
|
|
13180
13238
|
"unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
|
|
13181
13239
|
/**
|
|
13182
13240
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
13183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
|
|
13184
13242
|
*/
|
|
13185
13243
|
"unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
|
|
13186
13244
|
/**
|
|
13187
13245
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
13188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
|
|
13189
13247
|
*/
|
|
13190
13248
|
"unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
|
|
13191
13249
|
/**
|
|
13192
13250
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
13193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
|
|
13194
13252
|
*/
|
|
13195
13253
|
"unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
|
|
13196
13254
|
/**
|
|
13197
13255
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
13198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
13199
13257
|
*/
|
|
13200
13258
|
"unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
|
|
13201
13259
|
/**
|
|
13202
13260
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
13203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
13204
13262
|
*/
|
|
13205
13263
|
"unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
|
|
13206
13264
|
/**
|
|
13207
13265
|
* Prefer using `structuredClone` to create a deep clone.
|
|
13208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
|
|
13209
13267
|
*/
|
|
13210
13268
|
"unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
13211
13269
|
/**
|
|
13212
13270
|
* Prefer `switch` over multiple `else-if`.
|
|
13213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
|
|
13214
13272
|
*/
|
|
13215
13273
|
"unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
13216
13274
|
/**
|
|
13217
13275
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
13218
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
|
|
13219
13277
|
*/
|
|
13220
13278
|
"unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
13221
13279
|
/**
|
|
13222
13280
|
* Prefer top-level await over top-level promises and async function calls.
|
|
13223
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
|
|
13224
13282
|
*/
|
|
13225
13283
|
"unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
|
|
13226
13284
|
/**
|
|
13227
13285
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
13228
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
|
|
13229
13287
|
*/
|
|
13230
13288
|
"unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
|
|
13231
13289
|
/**
|
|
13232
13290
|
* Prevent abbreviations.
|
|
13233
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
|
|
13234
13292
|
*/
|
|
13235
13293
|
"unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
13236
13294
|
/**
|
|
13237
13295
|
* Enforce consistent relative URL style.
|
|
13238
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
|
|
13239
13297
|
*/
|
|
13240
13298
|
"unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
13241
13299
|
/**
|
|
13242
13300
|
* Enforce using the separator argument with `Array#join()`.
|
|
13243
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
|
|
13244
13302
|
*/
|
|
13245
13303
|
"unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
|
|
13246
13304
|
/**
|
|
13247
13305
|
* Require non-empty module attributes for imports and exports
|
|
13248
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
|
|
13249
13307
|
*/
|
|
13250
13308
|
"unicorn/require-module-attributes"?: Linter.RuleEntry<[]>;
|
|
13251
13309
|
/**
|
|
13252
13310
|
* Require non-empty specifier list in import and export statements.
|
|
13253
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
|
|
13254
13312
|
*/
|
|
13255
13313
|
"unicorn/require-module-specifiers"?: Linter.RuleEntry<[]>;
|
|
13256
13314
|
/**
|
|
13257
13315
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
13258
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
13259
13317
|
*/
|
|
13260
13318
|
"unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
|
|
13261
13319
|
/**
|
|
13262
13320
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
13263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
|
|
13264
13322
|
*/
|
|
13265
13323
|
"unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
|
|
13266
13324
|
/**
|
|
13267
13325
|
* Enforce better string content.
|
|
13268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
|
|
13269
13327
|
*/
|
|
13270
13328
|
"unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
|
|
13271
13329
|
/**
|
|
13272
13330
|
* Enforce consistent brace style for `case` clauses.
|
|
13273
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
|
|
13274
13332
|
*/
|
|
13275
13333
|
"unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
13276
13334
|
/**
|
|
13277
13335
|
* Fix whitespace-insensitive template indentation.
|
|
13278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
|
|
13279
13337
|
*/
|
|
13280
13338
|
"unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
13281
13339
|
/**
|
|
13282
13340
|
* Enforce consistent case for text encoding identifiers.
|
|
13283
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
|
|
13284
13342
|
*/
|
|
13285
13343
|
"unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
13286
13344
|
/**
|
|
13287
13345
|
* Require `new` when creating an error.
|
|
13288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
13346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
|
|
13289
13347
|
*/
|
|
13290
13348
|
"unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
|
|
13291
13349
|
}
|
|
@@ -13340,7 +13398,15 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
13340
13398
|
}
|
|
13341
13399
|
interface _UnicornImportStyle_BooleanObject {
|
|
13342
13400
|
[k: string]: boolean | undefined;
|
|
13343
|
-
} // ----- unicorn/
|
|
13401
|
+
} // ----- unicorn/isolated-functions -----
|
|
13402
|
+
type UnicornIsolatedFunctions = [] | [{
|
|
13403
|
+
overrideGlobals?: {
|
|
13404
|
+
[k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined;
|
|
13405
|
+
};
|
|
13406
|
+
functions?: string[];
|
|
13407
|
+
selectors?: string[];
|
|
13408
|
+
comments?: string[];
|
|
13409
|
+
}]; // ----- unicorn/no-array-reduce -----
|
|
13344
13410
|
type UnicornNoArrayReduce = [] | [{
|
|
13345
13411
|
allowSimpleOperations?: boolean;
|
|
13346
13412
|
}]; // ----- unicorn/no-array-reverse -----
|
|
@@ -14151,6 +14217,7 @@ type YamlFlowMappingCurlyNewline = [] | [("always" | "never") | {
|
|
|
14151
14217
|
type YamlFlowMappingCurlySpacing = [] | ["always" | "never"] | ["always" | "never", {
|
|
14152
14218
|
arraysInObjects?: boolean;
|
|
14153
14219
|
objectsInObjects?: boolean;
|
|
14220
|
+
emptyObjects?: "ignore" | "always" | "never";
|
|
14154
14221
|
}]; // ----- yaml/flow-sequence-bracket-newline -----
|
|
14155
14222
|
type YamlFlowSequenceBracketNewline = [] | [("always" | "never" | "consistent") | {
|
|
14156
14223
|
multiline?: boolean;
|
|
@@ -14633,7 +14700,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
|
|
|
14633
14700
|
type DefineConfig = typeof defineConfig;
|
|
14634
14701
|
//#endregion
|
|
14635
14702
|
//#region src/generated/version.d.ts
|
|
14636
|
-
declare const VERSION = "0.5.
|
|
14703
|
+
declare const VERSION = "0.5.2";
|
|
14637
14704
|
declare namespace globs_d_exports {
|
|
14638
14705
|
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TS_SRC_EXT, GLOB_YAML };
|
|
14639
14706
|
}
|
|
@@ -14986,738 +15053,6 @@ declare function importPluginReactRefresh(): Promise<{
|
|
|
14986
15053
|
};
|
|
14987
15054
|
};
|
|
14988
15055
|
}>;
|
|
14989
|
-
declare function importParserJsonc(): Promise<{
|
|
14990
|
-
parserJsonc: typeof jsonc_eslint_parser0;
|
|
14991
|
-
}>;
|
|
14992
|
-
declare function importPluginJsonc(): Promise<{
|
|
14993
|
-
pluginJsonc: {
|
|
14994
|
-
meta: typeof eslint_plugin_jsonc_meta0;
|
|
14995
|
-
configs: {
|
|
14996
|
-
base: {
|
|
14997
|
-
plugins: string[];
|
|
14998
|
-
overrides: {
|
|
14999
|
-
files: string[];
|
|
15000
|
-
parser: string;
|
|
15001
|
-
rules: {
|
|
15002
|
-
strict: string;
|
|
15003
|
-
"no-unused-expressions": string;
|
|
15004
|
-
"no-unused-vars": string;
|
|
15005
|
-
};
|
|
15006
|
-
}[];
|
|
15007
|
-
};
|
|
15008
|
-
"auto-config": {
|
|
15009
|
-
extends: string[];
|
|
15010
|
-
rules: {
|
|
15011
|
-
"jsonc/auto": string;
|
|
15012
|
-
};
|
|
15013
|
-
};
|
|
15014
|
-
"recommended-with-json": {
|
|
15015
|
-
extends: string[];
|
|
15016
|
-
rules: {
|
|
15017
|
-
"jsonc/comma-dangle": string;
|
|
15018
|
-
"jsonc/no-bigint-literals": string;
|
|
15019
|
-
"jsonc/no-binary-expression": string;
|
|
15020
|
-
"jsonc/no-binary-numeric-literals": string;
|
|
15021
|
-
"jsonc/no-comments": string;
|
|
15022
|
-
"jsonc/no-dupe-keys": string;
|
|
15023
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15024
|
-
"jsonc/no-floating-decimal": string;
|
|
15025
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15026
|
-
"jsonc/no-infinity": string;
|
|
15027
|
-
"jsonc/no-multi-str": string;
|
|
15028
|
-
"jsonc/no-nan": string;
|
|
15029
|
-
"jsonc/no-number-props": string;
|
|
15030
|
-
"jsonc/no-numeric-separators": string;
|
|
15031
|
-
"jsonc/no-octal-numeric-literals": string;
|
|
15032
|
-
"jsonc/no-octal": string;
|
|
15033
|
-
"jsonc/no-parenthesized": string;
|
|
15034
|
-
"jsonc/no-plus-sign": string;
|
|
15035
|
-
"jsonc/no-regexp-literals": string;
|
|
15036
|
-
"jsonc/no-sparse-arrays": string;
|
|
15037
|
-
"jsonc/no-template-literals": string;
|
|
15038
|
-
"jsonc/no-undefined-value": string;
|
|
15039
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15040
|
-
"jsonc/no-useless-escape": string;
|
|
15041
|
-
"jsonc/quote-props": string;
|
|
15042
|
-
"jsonc/quotes": string;
|
|
15043
|
-
"jsonc/space-unary-ops": string;
|
|
15044
|
-
"jsonc/valid-json-number": string;
|
|
15045
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15046
|
-
};
|
|
15047
|
-
};
|
|
15048
|
-
"recommended-with-jsonc": {
|
|
15049
|
-
extends: string[];
|
|
15050
|
-
rules: {
|
|
15051
|
-
"jsonc/no-bigint-literals": string;
|
|
15052
|
-
"jsonc/no-binary-expression": string;
|
|
15053
|
-
"jsonc/no-binary-numeric-literals": string;
|
|
15054
|
-
"jsonc/no-dupe-keys": string;
|
|
15055
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15056
|
-
"jsonc/no-floating-decimal": string;
|
|
15057
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15058
|
-
"jsonc/no-infinity": string;
|
|
15059
|
-
"jsonc/no-multi-str": string;
|
|
15060
|
-
"jsonc/no-nan": string;
|
|
15061
|
-
"jsonc/no-number-props": string;
|
|
15062
|
-
"jsonc/no-numeric-separators": string;
|
|
15063
|
-
"jsonc/no-octal-numeric-literals": string;
|
|
15064
|
-
"jsonc/no-octal": string;
|
|
15065
|
-
"jsonc/no-parenthesized": string;
|
|
15066
|
-
"jsonc/no-plus-sign": string;
|
|
15067
|
-
"jsonc/no-regexp-literals": string;
|
|
15068
|
-
"jsonc/no-sparse-arrays": string;
|
|
15069
|
-
"jsonc/no-template-literals": string;
|
|
15070
|
-
"jsonc/no-undefined-value": string;
|
|
15071
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15072
|
-
"jsonc/no-useless-escape": string;
|
|
15073
|
-
"jsonc/quote-props": string;
|
|
15074
|
-
"jsonc/quotes": string;
|
|
15075
|
-
"jsonc/space-unary-ops": string;
|
|
15076
|
-
"jsonc/valid-json-number": string;
|
|
15077
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15078
|
-
};
|
|
15079
|
-
};
|
|
15080
|
-
"recommended-with-json5": {
|
|
15081
|
-
extends: string[];
|
|
15082
|
-
rules: {
|
|
15083
|
-
"jsonc/no-bigint-literals": string;
|
|
15084
|
-
"jsonc/no-binary-expression": string;
|
|
15085
|
-
"jsonc/no-binary-numeric-literals": string;
|
|
15086
|
-
"jsonc/no-dupe-keys": string;
|
|
15087
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15088
|
-
"jsonc/no-number-props": string;
|
|
15089
|
-
"jsonc/no-numeric-separators": string;
|
|
15090
|
-
"jsonc/no-octal-numeric-literals": string;
|
|
15091
|
-
"jsonc/no-octal": string;
|
|
15092
|
-
"jsonc/no-parenthesized": string;
|
|
15093
|
-
"jsonc/no-regexp-literals": string;
|
|
15094
|
-
"jsonc/no-sparse-arrays": string;
|
|
15095
|
-
"jsonc/no-template-literals": string;
|
|
15096
|
-
"jsonc/no-undefined-value": string;
|
|
15097
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15098
|
-
"jsonc/no-useless-escape": string;
|
|
15099
|
-
"jsonc/space-unary-ops": string;
|
|
15100
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15101
|
-
};
|
|
15102
|
-
};
|
|
15103
|
-
prettier: {
|
|
15104
|
-
extends: string[];
|
|
15105
|
-
rules: {
|
|
15106
|
-
"jsonc/array-bracket-newline": string;
|
|
15107
|
-
"jsonc/array-bracket-spacing": string;
|
|
15108
|
-
"jsonc/array-element-newline": string;
|
|
15109
|
-
"jsonc/comma-dangle": string;
|
|
15110
|
-
"jsonc/comma-style": string;
|
|
15111
|
-
"jsonc/indent": string;
|
|
15112
|
-
"jsonc/key-spacing": string;
|
|
15113
|
-
"jsonc/no-floating-decimal": string;
|
|
15114
|
-
"jsonc/object-curly-newline": string;
|
|
15115
|
-
"jsonc/object-curly-spacing": string;
|
|
15116
|
-
"jsonc/object-property-newline": string;
|
|
15117
|
-
"jsonc/quote-props": string;
|
|
15118
|
-
"jsonc/quotes": string;
|
|
15119
|
-
"jsonc/space-unary-ops": string;
|
|
15120
|
-
};
|
|
15121
|
-
};
|
|
15122
|
-
all: {
|
|
15123
|
-
extends: string[];
|
|
15124
|
-
rules: {
|
|
15125
|
-
[x: string]: string;
|
|
15126
|
-
};
|
|
15127
|
-
};
|
|
15128
|
-
"flat/base": ({
|
|
15129
|
-
plugins: {
|
|
15130
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15131
|
-
};
|
|
15132
|
-
files?: undefined;
|
|
15133
|
-
languageOptions?: undefined;
|
|
15134
|
-
rules?: undefined;
|
|
15135
|
-
} | {
|
|
15136
|
-
files: string[];
|
|
15137
|
-
languageOptions: {
|
|
15138
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15139
|
-
};
|
|
15140
|
-
rules: {
|
|
15141
|
-
strict: "off";
|
|
15142
|
-
"no-unused-expressions": "off";
|
|
15143
|
-
"no-unused-vars": "off";
|
|
15144
|
-
};
|
|
15145
|
-
plugins?: undefined;
|
|
15146
|
-
})[];
|
|
15147
|
-
"flat/recommended-with-json": ({
|
|
15148
|
-
plugins: {
|
|
15149
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15150
|
-
};
|
|
15151
|
-
files?: undefined;
|
|
15152
|
-
languageOptions?: undefined;
|
|
15153
|
-
rules?: undefined;
|
|
15154
|
-
} | {
|
|
15155
|
-
files: string[];
|
|
15156
|
-
languageOptions: {
|
|
15157
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15158
|
-
};
|
|
15159
|
-
rules: {
|
|
15160
|
-
strict: "off";
|
|
15161
|
-
"no-unused-expressions": "off";
|
|
15162
|
-
"no-unused-vars": "off";
|
|
15163
|
-
};
|
|
15164
|
-
plugins?: undefined;
|
|
15165
|
-
} | {
|
|
15166
|
-
rules: {
|
|
15167
|
-
"jsonc/comma-dangle": "error";
|
|
15168
|
-
"jsonc/no-bigint-literals": "error";
|
|
15169
|
-
"jsonc/no-binary-expression": "error";
|
|
15170
|
-
"jsonc/no-binary-numeric-literals": "error";
|
|
15171
|
-
"jsonc/no-comments": "error";
|
|
15172
|
-
"jsonc/no-dupe-keys": "error";
|
|
15173
|
-
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
15174
|
-
"jsonc/no-floating-decimal": "error";
|
|
15175
|
-
"jsonc/no-hexadecimal-numeric-literals": "error";
|
|
15176
|
-
"jsonc/no-infinity": "error";
|
|
15177
|
-
"jsonc/no-multi-str": "error";
|
|
15178
|
-
"jsonc/no-nan": "error";
|
|
15179
|
-
"jsonc/no-number-props": "error";
|
|
15180
|
-
"jsonc/no-numeric-separators": "error";
|
|
15181
|
-
"jsonc/no-octal-numeric-literals": "error";
|
|
15182
|
-
"jsonc/no-octal": "error";
|
|
15183
|
-
"jsonc/no-parenthesized": "error";
|
|
15184
|
-
"jsonc/no-plus-sign": "error";
|
|
15185
|
-
"jsonc/no-regexp-literals": "error";
|
|
15186
|
-
"jsonc/no-sparse-arrays": "error";
|
|
15187
|
-
"jsonc/no-template-literals": "error";
|
|
15188
|
-
"jsonc/no-undefined-value": "error";
|
|
15189
|
-
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
15190
|
-
"jsonc/no-useless-escape": "error";
|
|
15191
|
-
"jsonc/quote-props": "error";
|
|
15192
|
-
"jsonc/quotes": "error";
|
|
15193
|
-
"jsonc/space-unary-ops": "error";
|
|
15194
|
-
"jsonc/valid-json-number": "error";
|
|
15195
|
-
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
15196
|
-
};
|
|
15197
|
-
})[];
|
|
15198
|
-
"flat/recommended-with-jsonc": ({
|
|
15199
|
-
plugins: {
|
|
15200
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15201
|
-
};
|
|
15202
|
-
files?: undefined;
|
|
15203
|
-
languageOptions?: undefined;
|
|
15204
|
-
rules?: undefined;
|
|
15205
|
-
} | {
|
|
15206
|
-
files: string[];
|
|
15207
|
-
languageOptions: {
|
|
15208
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15209
|
-
};
|
|
15210
|
-
rules: {
|
|
15211
|
-
strict: "off";
|
|
15212
|
-
"no-unused-expressions": "off";
|
|
15213
|
-
"no-unused-vars": "off";
|
|
15214
|
-
};
|
|
15215
|
-
plugins?: undefined;
|
|
15216
|
-
} | {
|
|
15217
|
-
rules: {
|
|
15218
|
-
"jsonc/no-bigint-literals": "error";
|
|
15219
|
-
"jsonc/no-binary-expression": "error";
|
|
15220
|
-
"jsonc/no-binary-numeric-literals": "error";
|
|
15221
|
-
"jsonc/no-dupe-keys": "error";
|
|
15222
|
-
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
15223
|
-
"jsonc/no-floating-decimal": "error";
|
|
15224
|
-
"jsonc/no-hexadecimal-numeric-literals": "error";
|
|
15225
|
-
"jsonc/no-infinity": "error";
|
|
15226
|
-
"jsonc/no-multi-str": "error";
|
|
15227
|
-
"jsonc/no-nan": "error";
|
|
15228
|
-
"jsonc/no-number-props": "error";
|
|
15229
|
-
"jsonc/no-numeric-separators": "error";
|
|
15230
|
-
"jsonc/no-octal-numeric-literals": "error";
|
|
15231
|
-
"jsonc/no-octal": "error";
|
|
15232
|
-
"jsonc/no-parenthesized": "error";
|
|
15233
|
-
"jsonc/no-plus-sign": "error";
|
|
15234
|
-
"jsonc/no-regexp-literals": "error";
|
|
15235
|
-
"jsonc/no-sparse-arrays": "error";
|
|
15236
|
-
"jsonc/no-template-literals": "error";
|
|
15237
|
-
"jsonc/no-undefined-value": "error";
|
|
15238
|
-
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
15239
|
-
"jsonc/no-useless-escape": "error";
|
|
15240
|
-
"jsonc/quote-props": "error";
|
|
15241
|
-
"jsonc/quotes": "error";
|
|
15242
|
-
"jsonc/space-unary-ops": "error";
|
|
15243
|
-
"jsonc/valid-json-number": "error";
|
|
15244
|
-
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
15245
|
-
};
|
|
15246
|
-
})[];
|
|
15247
|
-
"flat/recommended-with-json5": ({
|
|
15248
|
-
plugins: {
|
|
15249
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15250
|
-
};
|
|
15251
|
-
files?: undefined;
|
|
15252
|
-
languageOptions?: undefined;
|
|
15253
|
-
rules?: undefined;
|
|
15254
|
-
} | {
|
|
15255
|
-
files: string[];
|
|
15256
|
-
languageOptions: {
|
|
15257
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15258
|
-
};
|
|
15259
|
-
rules: {
|
|
15260
|
-
strict: "off";
|
|
15261
|
-
"no-unused-expressions": "off";
|
|
15262
|
-
"no-unused-vars": "off";
|
|
15263
|
-
};
|
|
15264
|
-
plugins?: undefined;
|
|
15265
|
-
} | {
|
|
15266
|
-
rules: {
|
|
15267
|
-
"jsonc/no-bigint-literals": "error";
|
|
15268
|
-
"jsonc/no-binary-expression": "error";
|
|
15269
|
-
"jsonc/no-binary-numeric-literals": "error";
|
|
15270
|
-
"jsonc/no-dupe-keys": "error";
|
|
15271
|
-
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
15272
|
-
"jsonc/no-number-props": "error";
|
|
15273
|
-
"jsonc/no-numeric-separators": "error";
|
|
15274
|
-
"jsonc/no-octal-numeric-literals": "error";
|
|
15275
|
-
"jsonc/no-octal": "error";
|
|
15276
|
-
"jsonc/no-parenthesized": "error";
|
|
15277
|
-
"jsonc/no-regexp-literals": "error";
|
|
15278
|
-
"jsonc/no-sparse-arrays": "error";
|
|
15279
|
-
"jsonc/no-template-literals": "error";
|
|
15280
|
-
"jsonc/no-undefined-value": "error";
|
|
15281
|
-
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
15282
|
-
"jsonc/no-useless-escape": "error";
|
|
15283
|
-
"jsonc/space-unary-ops": "error";
|
|
15284
|
-
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
15285
|
-
};
|
|
15286
|
-
})[];
|
|
15287
|
-
"flat/prettier": ({
|
|
15288
|
-
plugins: {
|
|
15289
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15290
|
-
};
|
|
15291
|
-
files?: undefined;
|
|
15292
|
-
languageOptions?: undefined;
|
|
15293
|
-
rules?: undefined;
|
|
15294
|
-
} | {
|
|
15295
|
-
files: string[];
|
|
15296
|
-
languageOptions: {
|
|
15297
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15298
|
-
};
|
|
15299
|
-
rules: {
|
|
15300
|
-
strict: "off";
|
|
15301
|
-
"no-unused-expressions": "off";
|
|
15302
|
-
"no-unused-vars": "off";
|
|
15303
|
-
};
|
|
15304
|
-
plugins?: undefined;
|
|
15305
|
-
} | {
|
|
15306
|
-
rules: {
|
|
15307
|
-
"jsonc/array-bracket-newline": "off";
|
|
15308
|
-
"jsonc/array-bracket-spacing": "off";
|
|
15309
|
-
"jsonc/array-element-newline": "off";
|
|
15310
|
-
"jsonc/comma-dangle": "off";
|
|
15311
|
-
"jsonc/comma-style": "off";
|
|
15312
|
-
"jsonc/indent": "off";
|
|
15313
|
-
"jsonc/key-spacing": "off";
|
|
15314
|
-
"jsonc/no-floating-decimal": "off";
|
|
15315
|
-
"jsonc/object-curly-newline": "off";
|
|
15316
|
-
"jsonc/object-curly-spacing": "off";
|
|
15317
|
-
"jsonc/object-property-newline": "off";
|
|
15318
|
-
"jsonc/quote-props": "off";
|
|
15319
|
-
"jsonc/quotes": "off";
|
|
15320
|
-
"jsonc/space-unary-ops": "off";
|
|
15321
|
-
};
|
|
15322
|
-
})[];
|
|
15323
|
-
"flat/all": ({
|
|
15324
|
-
plugins: {
|
|
15325
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15326
|
-
};
|
|
15327
|
-
files?: undefined;
|
|
15328
|
-
languageOptions?: undefined;
|
|
15329
|
-
rules?: undefined;
|
|
15330
|
-
} | {
|
|
15331
|
-
files: string[];
|
|
15332
|
-
languageOptions: {
|
|
15333
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15334
|
-
};
|
|
15335
|
-
rules: {
|
|
15336
|
-
strict: "off";
|
|
15337
|
-
"no-unused-expressions": "off";
|
|
15338
|
-
"no-unused-vars": "off";
|
|
15339
|
-
};
|
|
15340
|
-
plugins?: undefined;
|
|
15341
|
-
} | {
|
|
15342
|
-
rules: {
|
|
15343
|
-
[rule: string]: eslint.Linter.RuleEntry<any[]>;
|
|
15344
|
-
};
|
|
15345
|
-
})[];
|
|
15346
|
-
};
|
|
15347
|
-
rules: {
|
|
15348
|
-
[key: string]: eslint_plugin_jsonc_types0.RuleModule<unknown[]>;
|
|
15349
|
-
};
|
|
15350
|
-
parseForESLint: typeof jsonc_eslint_parser0.parseForESLint;
|
|
15351
|
-
parseJSON: typeof jsonc_eslint_parser0.parseJSON;
|
|
15352
|
-
traverseNodes: typeof jsonc_eslint_parser0.traverseNodes;
|
|
15353
|
-
getStaticJSONValue: typeof jsonc_eslint_parser0.getStaticJSONValue;
|
|
15354
|
-
};
|
|
15355
|
-
}>;
|
|
15356
|
-
declare function importJsoncLibs(): Promise<{
|
|
15357
|
-
parserJsonc: typeof jsonc_eslint_parser0;
|
|
15358
|
-
pluginJsonc: {
|
|
15359
|
-
meta: typeof eslint_plugin_jsonc_meta0;
|
|
15360
|
-
configs: {
|
|
15361
|
-
base: {
|
|
15362
|
-
plugins: string[];
|
|
15363
|
-
overrides: {
|
|
15364
|
-
files: string[];
|
|
15365
|
-
parser: string;
|
|
15366
|
-
rules: {
|
|
15367
|
-
strict: string;
|
|
15368
|
-
"no-unused-expressions": string;
|
|
15369
|
-
"no-unused-vars": string;
|
|
15370
|
-
};
|
|
15371
|
-
}[];
|
|
15372
|
-
};
|
|
15373
|
-
"auto-config": {
|
|
15374
|
-
extends: string[];
|
|
15375
|
-
rules: {
|
|
15376
|
-
"jsonc/auto": string;
|
|
15377
|
-
};
|
|
15378
|
-
};
|
|
15379
|
-
"recommended-with-json": {
|
|
15380
|
-
extends: string[];
|
|
15381
|
-
rules: {
|
|
15382
|
-
"jsonc/comma-dangle": string;
|
|
15383
|
-
"jsonc/no-bigint-literals": string;
|
|
15384
|
-
"jsonc/no-binary-expression": string;
|
|
15385
|
-
"jsonc/no-binary-numeric-literals": string;
|
|
15386
|
-
"jsonc/no-comments": string;
|
|
15387
|
-
"jsonc/no-dupe-keys": string;
|
|
15388
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15389
|
-
"jsonc/no-floating-decimal": string;
|
|
15390
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15391
|
-
"jsonc/no-infinity": string;
|
|
15392
|
-
"jsonc/no-multi-str": string;
|
|
15393
|
-
"jsonc/no-nan": string;
|
|
15394
|
-
"jsonc/no-number-props": string;
|
|
15395
|
-
"jsonc/no-numeric-separators": string;
|
|
15396
|
-
"jsonc/no-octal-numeric-literals": string;
|
|
15397
|
-
"jsonc/no-octal": string;
|
|
15398
|
-
"jsonc/no-parenthesized": string;
|
|
15399
|
-
"jsonc/no-plus-sign": string;
|
|
15400
|
-
"jsonc/no-regexp-literals": string;
|
|
15401
|
-
"jsonc/no-sparse-arrays": string;
|
|
15402
|
-
"jsonc/no-template-literals": string;
|
|
15403
|
-
"jsonc/no-undefined-value": string;
|
|
15404
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15405
|
-
"jsonc/no-useless-escape": string;
|
|
15406
|
-
"jsonc/quote-props": string;
|
|
15407
|
-
"jsonc/quotes": string;
|
|
15408
|
-
"jsonc/space-unary-ops": string;
|
|
15409
|
-
"jsonc/valid-json-number": string;
|
|
15410
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15411
|
-
};
|
|
15412
|
-
};
|
|
15413
|
-
"recommended-with-jsonc": {
|
|
15414
|
-
extends: string[];
|
|
15415
|
-
rules: {
|
|
15416
|
-
"jsonc/no-bigint-literals": string;
|
|
15417
|
-
"jsonc/no-binary-expression": string;
|
|
15418
|
-
"jsonc/no-binary-numeric-literals": string;
|
|
15419
|
-
"jsonc/no-dupe-keys": string;
|
|
15420
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15421
|
-
"jsonc/no-floating-decimal": string;
|
|
15422
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15423
|
-
"jsonc/no-infinity": string;
|
|
15424
|
-
"jsonc/no-multi-str": string;
|
|
15425
|
-
"jsonc/no-nan": string;
|
|
15426
|
-
"jsonc/no-number-props": string;
|
|
15427
|
-
"jsonc/no-numeric-separators": string;
|
|
15428
|
-
"jsonc/no-octal-numeric-literals": string;
|
|
15429
|
-
"jsonc/no-octal": string;
|
|
15430
|
-
"jsonc/no-parenthesized": string;
|
|
15431
|
-
"jsonc/no-plus-sign": string;
|
|
15432
|
-
"jsonc/no-regexp-literals": string;
|
|
15433
|
-
"jsonc/no-sparse-arrays": string;
|
|
15434
|
-
"jsonc/no-template-literals": string;
|
|
15435
|
-
"jsonc/no-undefined-value": string;
|
|
15436
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15437
|
-
"jsonc/no-useless-escape": string;
|
|
15438
|
-
"jsonc/quote-props": string;
|
|
15439
|
-
"jsonc/quotes": string;
|
|
15440
|
-
"jsonc/space-unary-ops": string;
|
|
15441
|
-
"jsonc/valid-json-number": string;
|
|
15442
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15443
|
-
};
|
|
15444
|
-
};
|
|
15445
|
-
"recommended-with-json5": {
|
|
15446
|
-
extends: string[];
|
|
15447
|
-
rules: {
|
|
15448
|
-
"jsonc/no-bigint-literals": string;
|
|
15449
|
-
"jsonc/no-binary-expression": string;
|
|
15450
|
-
"jsonc/no-binary-numeric-literals": string;
|
|
15451
|
-
"jsonc/no-dupe-keys": string;
|
|
15452
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15453
|
-
"jsonc/no-number-props": string;
|
|
15454
|
-
"jsonc/no-numeric-separators": string;
|
|
15455
|
-
"jsonc/no-octal-numeric-literals": string;
|
|
15456
|
-
"jsonc/no-octal": string;
|
|
15457
|
-
"jsonc/no-parenthesized": string;
|
|
15458
|
-
"jsonc/no-regexp-literals": string;
|
|
15459
|
-
"jsonc/no-sparse-arrays": string;
|
|
15460
|
-
"jsonc/no-template-literals": string;
|
|
15461
|
-
"jsonc/no-undefined-value": string;
|
|
15462
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15463
|
-
"jsonc/no-useless-escape": string;
|
|
15464
|
-
"jsonc/space-unary-ops": string;
|
|
15465
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15466
|
-
};
|
|
15467
|
-
};
|
|
15468
|
-
prettier: {
|
|
15469
|
-
extends: string[];
|
|
15470
|
-
rules: {
|
|
15471
|
-
"jsonc/array-bracket-newline": string;
|
|
15472
|
-
"jsonc/array-bracket-spacing": string;
|
|
15473
|
-
"jsonc/array-element-newline": string;
|
|
15474
|
-
"jsonc/comma-dangle": string;
|
|
15475
|
-
"jsonc/comma-style": string;
|
|
15476
|
-
"jsonc/indent": string;
|
|
15477
|
-
"jsonc/key-spacing": string;
|
|
15478
|
-
"jsonc/no-floating-decimal": string;
|
|
15479
|
-
"jsonc/object-curly-newline": string;
|
|
15480
|
-
"jsonc/object-curly-spacing": string;
|
|
15481
|
-
"jsonc/object-property-newline": string;
|
|
15482
|
-
"jsonc/quote-props": string;
|
|
15483
|
-
"jsonc/quotes": string;
|
|
15484
|
-
"jsonc/space-unary-ops": string;
|
|
15485
|
-
};
|
|
15486
|
-
};
|
|
15487
|
-
all: {
|
|
15488
|
-
extends: string[];
|
|
15489
|
-
rules: {
|
|
15490
|
-
[x: string]: string;
|
|
15491
|
-
};
|
|
15492
|
-
};
|
|
15493
|
-
"flat/base": ({
|
|
15494
|
-
plugins: {
|
|
15495
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15496
|
-
};
|
|
15497
|
-
files?: undefined;
|
|
15498
|
-
languageOptions?: undefined;
|
|
15499
|
-
rules?: undefined;
|
|
15500
|
-
} | {
|
|
15501
|
-
files: string[];
|
|
15502
|
-
languageOptions: {
|
|
15503
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15504
|
-
};
|
|
15505
|
-
rules: {
|
|
15506
|
-
strict: "off";
|
|
15507
|
-
"no-unused-expressions": "off";
|
|
15508
|
-
"no-unused-vars": "off";
|
|
15509
|
-
};
|
|
15510
|
-
plugins?: undefined;
|
|
15511
|
-
})[];
|
|
15512
|
-
"flat/recommended-with-json": ({
|
|
15513
|
-
plugins: {
|
|
15514
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15515
|
-
};
|
|
15516
|
-
files?: undefined;
|
|
15517
|
-
languageOptions?: undefined;
|
|
15518
|
-
rules?: undefined;
|
|
15519
|
-
} | {
|
|
15520
|
-
files: string[];
|
|
15521
|
-
languageOptions: {
|
|
15522
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15523
|
-
};
|
|
15524
|
-
rules: {
|
|
15525
|
-
strict: "off";
|
|
15526
|
-
"no-unused-expressions": "off";
|
|
15527
|
-
"no-unused-vars": "off";
|
|
15528
|
-
};
|
|
15529
|
-
plugins?: undefined;
|
|
15530
|
-
} | {
|
|
15531
|
-
rules: {
|
|
15532
|
-
"jsonc/comma-dangle": "error";
|
|
15533
|
-
"jsonc/no-bigint-literals": "error";
|
|
15534
|
-
"jsonc/no-binary-expression": "error";
|
|
15535
|
-
"jsonc/no-binary-numeric-literals": "error";
|
|
15536
|
-
"jsonc/no-comments": "error";
|
|
15537
|
-
"jsonc/no-dupe-keys": "error";
|
|
15538
|
-
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
15539
|
-
"jsonc/no-floating-decimal": "error";
|
|
15540
|
-
"jsonc/no-hexadecimal-numeric-literals": "error";
|
|
15541
|
-
"jsonc/no-infinity": "error";
|
|
15542
|
-
"jsonc/no-multi-str": "error";
|
|
15543
|
-
"jsonc/no-nan": "error";
|
|
15544
|
-
"jsonc/no-number-props": "error";
|
|
15545
|
-
"jsonc/no-numeric-separators": "error";
|
|
15546
|
-
"jsonc/no-octal-numeric-literals": "error";
|
|
15547
|
-
"jsonc/no-octal": "error";
|
|
15548
|
-
"jsonc/no-parenthesized": "error";
|
|
15549
|
-
"jsonc/no-plus-sign": "error";
|
|
15550
|
-
"jsonc/no-regexp-literals": "error";
|
|
15551
|
-
"jsonc/no-sparse-arrays": "error";
|
|
15552
|
-
"jsonc/no-template-literals": "error";
|
|
15553
|
-
"jsonc/no-undefined-value": "error";
|
|
15554
|
-
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
15555
|
-
"jsonc/no-useless-escape": "error";
|
|
15556
|
-
"jsonc/quote-props": "error";
|
|
15557
|
-
"jsonc/quotes": "error";
|
|
15558
|
-
"jsonc/space-unary-ops": "error";
|
|
15559
|
-
"jsonc/valid-json-number": "error";
|
|
15560
|
-
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
15561
|
-
};
|
|
15562
|
-
})[];
|
|
15563
|
-
"flat/recommended-with-jsonc": ({
|
|
15564
|
-
plugins: {
|
|
15565
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15566
|
-
};
|
|
15567
|
-
files?: undefined;
|
|
15568
|
-
languageOptions?: undefined;
|
|
15569
|
-
rules?: undefined;
|
|
15570
|
-
} | {
|
|
15571
|
-
files: string[];
|
|
15572
|
-
languageOptions: {
|
|
15573
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15574
|
-
};
|
|
15575
|
-
rules: {
|
|
15576
|
-
strict: "off";
|
|
15577
|
-
"no-unused-expressions": "off";
|
|
15578
|
-
"no-unused-vars": "off";
|
|
15579
|
-
};
|
|
15580
|
-
plugins?: undefined;
|
|
15581
|
-
} | {
|
|
15582
|
-
rules: {
|
|
15583
|
-
"jsonc/no-bigint-literals": "error";
|
|
15584
|
-
"jsonc/no-binary-expression": "error";
|
|
15585
|
-
"jsonc/no-binary-numeric-literals": "error";
|
|
15586
|
-
"jsonc/no-dupe-keys": "error";
|
|
15587
|
-
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
15588
|
-
"jsonc/no-floating-decimal": "error";
|
|
15589
|
-
"jsonc/no-hexadecimal-numeric-literals": "error";
|
|
15590
|
-
"jsonc/no-infinity": "error";
|
|
15591
|
-
"jsonc/no-multi-str": "error";
|
|
15592
|
-
"jsonc/no-nan": "error";
|
|
15593
|
-
"jsonc/no-number-props": "error";
|
|
15594
|
-
"jsonc/no-numeric-separators": "error";
|
|
15595
|
-
"jsonc/no-octal-numeric-literals": "error";
|
|
15596
|
-
"jsonc/no-octal": "error";
|
|
15597
|
-
"jsonc/no-parenthesized": "error";
|
|
15598
|
-
"jsonc/no-plus-sign": "error";
|
|
15599
|
-
"jsonc/no-regexp-literals": "error";
|
|
15600
|
-
"jsonc/no-sparse-arrays": "error";
|
|
15601
|
-
"jsonc/no-template-literals": "error";
|
|
15602
|
-
"jsonc/no-undefined-value": "error";
|
|
15603
|
-
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
15604
|
-
"jsonc/no-useless-escape": "error";
|
|
15605
|
-
"jsonc/quote-props": "error";
|
|
15606
|
-
"jsonc/quotes": "error";
|
|
15607
|
-
"jsonc/space-unary-ops": "error";
|
|
15608
|
-
"jsonc/valid-json-number": "error";
|
|
15609
|
-
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
15610
|
-
};
|
|
15611
|
-
})[];
|
|
15612
|
-
"flat/recommended-with-json5": ({
|
|
15613
|
-
plugins: {
|
|
15614
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15615
|
-
};
|
|
15616
|
-
files?: undefined;
|
|
15617
|
-
languageOptions?: undefined;
|
|
15618
|
-
rules?: undefined;
|
|
15619
|
-
} | {
|
|
15620
|
-
files: string[];
|
|
15621
|
-
languageOptions: {
|
|
15622
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15623
|
-
};
|
|
15624
|
-
rules: {
|
|
15625
|
-
strict: "off";
|
|
15626
|
-
"no-unused-expressions": "off";
|
|
15627
|
-
"no-unused-vars": "off";
|
|
15628
|
-
};
|
|
15629
|
-
plugins?: undefined;
|
|
15630
|
-
} | {
|
|
15631
|
-
rules: {
|
|
15632
|
-
"jsonc/no-bigint-literals": "error";
|
|
15633
|
-
"jsonc/no-binary-expression": "error";
|
|
15634
|
-
"jsonc/no-binary-numeric-literals": "error";
|
|
15635
|
-
"jsonc/no-dupe-keys": "error";
|
|
15636
|
-
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
15637
|
-
"jsonc/no-number-props": "error";
|
|
15638
|
-
"jsonc/no-numeric-separators": "error";
|
|
15639
|
-
"jsonc/no-octal-numeric-literals": "error";
|
|
15640
|
-
"jsonc/no-octal": "error";
|
|
15641
|
-
"jsonc/no-parenthesized": "error";
|
|
15642
|
-
"jsonc/no-regexp-literals": "error";
|
|
15643
|
-
"jsonc/no-sparse-arrays": "error";
|
|
15644
|
-
"jsonc/no-template-literals": "error";
|
|
15645
|
-
"jsonc/no-undefined-value": "error";
|
|
15646
|
-
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
15647
|
-
"jsonc/no-useless-escape": "error";
|
|
15648
|
-
"jsonc/space-unary-ops": "error";
|
|
15649
|
-
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
15650
|
-
};
|
|
15651
|
-
})[];
|
|
15652
|
-
"flat/prettier": ({
|
|
15653
|
-
plugins: {
|
|
15654
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15655
|
-
};
|
|
15656
|
-
files?: undefined;
|
|
15657
|
-
languageOptions?: undefined;
|
|
15658
|
-
rules?: undefined;
|
|
15659
|
-
} | {
|
|
15660
|
-
files: string[];
|
|
15661
|
-
languageOptions: {
|
|
15662
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15663
|
-
};
|
|
15664
|
-
rules: {
|
|
15665
|
-
strict: "off";
|
|
15666
|
-
"no-unused-expressions": "off";
|
|
15667
|
-
"no-unused-vars": "off";
|
|
15668
|
-
};
|
|
15669
|
-
plugins?: undefined;
|
|
15670
|
-
} | {
|
|
15671
|
-
rules: {
|
|
15672
|
-
"jsonc/array-bracket-newline": "off";
|
|
15673
|
-
"jsonc/array-bracket-spacing": "off";
|
|
15674
|
-
"jsonc/array-element-newline": "off";
|
|
15675
|
-
"jsonc/comma-dangle": "off";
|
|
15676
|
-
"jsonc/comma-style": "off";
|
|
15677
|
-
"jsonc/indent": "off";
|
|
15678
|
-
"jsonc/key-spacing": "off";
|
|
15679
|
-
"jsonc/no-floating-decimal": "off";
|
|
15680
|
-
"jsonc/object-curly-newline": "off";
|
|
15681
|
-
"jsonc/object-curly-spacing": "off";
|
|
15682
|
-
"jsonc/object-property-newline": "off";
|
|
15683
|
-
"jsonc/quote-props": "off";
|
|
15684
|
-
"jsonc/quotes": "off";
|
|
15685
|
-
"jsonc/space-unary-ops": "off";
|
|
15686
|
-
};
|
|
15687
|
-
})[];
|
|
15688
|
-
"flat/all": ({
|
|
15689
|
-
plugins: {
|
|
15690
|
-
readonly jsonc: eslint.ESLint.Plugin;
|
|
15691
|
-
};
|
|
15692
|
-
files?: undefined;
|
|
15693
|
-
languageOptions?: undefined;
|
|
15694
|
-
rules?: undefined;
|
|
15695
|
-
} | {
|
|
15696
|
-
files: string[];
|
|
15697
|
-
languageOptions: {
|
|
15698
|
-
parser: typeof jsonc_eslint_parser0;
|
|
15699
|
-
};
|
|
15700
|
-
rules: {
|
|
15701
|
-
strict: "off";
|
|
15702
|
-
"no-unused-expressions": "off";
|
|
15703
|
-
"no-unused-vars": "off";
|
|
15704
|
-
};
|
|
15705
|
-
plugins?: undefined;
|
|
15706
|
-
} | {
|
|
15707
|
-
rules: {
|
|
15708
|
-
[rule: string]: eslint.Linter.RuleEntry<any[]>;
|
|
15709
|
-
};
|
|
15710
|
-
})[];
|
|
15711
|
-
};
|
|
15712
|
-
rules: {
|
|
15713
|
-
[key: string]: eslint_plugin_jsonc_types0.RuleModule<unknown[]>;
|
|
15714
|
-
};
|
|
15715
|
-
parseForESLint: typeof jsonc_eslint_parser0.parseForESLint;
|
|
15716
|
-
parseJSON: typeof jsonc_eslint_parser0.parseJSON;
|
|
15717
|
-
traverseNodes: typeof jsonc_eslint_parser0.traverseNodes;
|
|
15718
|
-
getStaticJSONValue: typeof jsonc_eslint_parser0.getStaticJSONValue;
|
|
15719
|
-
};
|
|
15720
|
-
}>;
|
|
15721
15056
|
declare function importPluginMarkdown(): Promise<{
|
|
15722
15057
|
pluginMarkdown: typeof _eslint_markdown0.default;
|
|
15723
15058
|
}>;
|
|
@@ -15808,4 +15143,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
|
|
|
15808
15143
|
declare function error2warn<T extends Config>(configs: T[]): T[];
|
|
15809
15144
|
declare function warn2error<T extends Config>(configs: T[]): T[];
|
|
15810
15145
|
//#endregion
|
|
15811
|
-
export { Awaitable, Config, EslintConfigFn, type JavascriptRuleOptions, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, RulesRecord, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, TypescriptConfigRules, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs,
|
|
15146
|
+
export { Awaitable, Config, EslintConfigFn, type JavascriptRuleOptions, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, RulesRecord, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, TypescriptConfigRules, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
|