Skip to content

Commit 1454fb6

Browse files
committed
lint: dim warnings
1 parent 479bf4e commit 1454fb6

5 files changed

Lines changed: 0 additions & 9 deletions

File tree

‎benchmark/benchmark.mjs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env node
2-
/* eslint-disable no-console */
3-
42
import { readFileSync, readdirSync } from 'fs'
53
import util from 'node:util'
64
import Benchmark from 'benchmark'

‎benchmark/profile.mjs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env node
2-
/* eslint-disable no-console */
3-
42
import { readFileSync } from 'fs'
53
import linkifyit from '../index.mjs'
64

‎index.mjs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ const defaultSchemas = {
109109
}
110110

111111
// RE pattern for 2-character tlds (autogenerated by ./support/tlds_2char_gen.js)
112-
/* eslint-disable-next-line max-len */
113112
const tlds_2ch_src_re = 'a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]'
114113

115114
// DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead

‎support/check.mjs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// Simple CLI helper for quick-check patterns
55
//
66

7-
/* eslint-disable no-console */
8-
97
import linkifyit from '../index.mjs'
108
import { inspect } from 'node:util'
119
const linkify = linkifyit()

‎support/tlds_2char_gen.mjs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// Code is dirty, i know, but it's needed only once
66
//
77

8-
/* eslint-disable no-console */
9-
108
import { createRequire } from 'node:module'
119

1210
const tldList = createRequire(import.meta.url)('tlds')

0 commit comments

Comments
 (0)