1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00

chore: update deno_lint for CI (#21802)

This commit is contained in:
Kenta Moriuchi 2024-01-06 00:03:06 +09:00 committed by GitHub
parent 9f86705fa6
commit e7e25db24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 14 deletions

View file

@ -1,8 +1,5 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
import { import {
CallbackWithError, CallbackWithError,
isFd, isFd,

View file

@ -340,7 +340,6 @@ export function assertNotStrictEquals<T>(
* then throw. */ * then throw. */
export function assertMatch( export function assertMatch(
actual: string, actual: string,
// deno-lint-ignore prefer-primordials
expected: RegExp, expected: RegExp,
msg?: string, msg?: string,
) { ) {
@ -356,7 +355,6 @@ export function assertMatch(
* then throw. */ * then throw. */
export function assertNotMatch( export function assertNotMatch(
actual: string, actual: string,
// deno-lint-ignore prefer-primordials
expected: RegExp, expected: RegExp,
msg?: string, msg?: string,
) { ) {

View file

@ -18,7 +18,6 @@ const noColor = false;
interface Code { interface Code {
open: string; open: string;
close: string; close: string;
// deno-lint-ignore prefer-primordials
regexp: RegExp; regexp: RegExp;
} }

View file

@ -21,9 +21,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE. // USE OR OTHER DEALINGS IN THE SOFTWARE.
// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
import { primordials } from "ext:core/mod.js"; import { primordials } from "ext:core/mod.js";
import * as bindingTypes from "ext:deno_node/internal_binding/types.ts"; import * as bindingTypes from "ext:deno_node/internal_binding/types.ts";
export { export {

View file

@ -24,9 +24,6 @@
// - https://github.com/nodejs/node/blob/master/src/connection_wrap.cc // - https://github.com/nodejs/node/blob/master/src/connection_wrap.cc
// - https://github.com/nodejs/node/blob/master/src/connection_wrap.h // - https://github.com/nodejs/node/blob/master/src/connection_wrap.h
// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
import { LibuvStreamWrap } from "ext:deno_node/internal_binding/stream_wrap.ts"; import { LibuvStreamWrap } from "ext:deno_node/internal_binding/stream_wrap.ts";
import { import {
AsyncWrap, AsyncWrap,

View file

@ -14,7 +14,7 @@ export { delay } from "../test_util/std/async/delay.ts";
// [toolName] --version output // [toolName] --version output
const versions = { const versions = {
"dlint": "dlint 0.51.0", "dlint": "dlint 0.52.2",
}; };
const compressed = new Set(["ld64.lld", "rcodesign"]); const compressed = new Set(["ld64.lld", "rcodesign"]);
@ -175,7 +175,7 @@ export function getPrebuiltToolPath(toolName) {
return join(PREBUILT_TOOL_DIR, toolName + executableSuffix); return join(PREBUILT_TOOL_DIR, toolName + executableSuffix);
} }
const commitId = "c249f61eaed67db26c2934b195dc51e3ab91ae03"; const commitId = "5f2097d8247c7fbe30ba227f894d70ae5c1524c7";
const downloadUrl = const downloadUrl =
`https://raw.githubusercontent.com/denoland/deno_third_party/${commitId}/prebuilt/${platformDirName}`; `https://raw.githubusercontent.com/denoland/deno_third_party/${commitId}/prebuilt/${platformDirName}`;