Skip to content

Commit 4fae796

Browse files
committed
Fix lint
1 parent f2f0733 commit 4fae796

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [18.x, 20.x, 22.x, 23.x]
14+
node-version: [18, 20, 22, 23]
1515
os: [ubuntu-latest]
1616
runs-on: ${{ matrix.os }}
1717
steps:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"url": "git+https://github.com/cto-af/string-width.git"
1111
},
1212
"scripts": {
13+
"clean": "rm -rf coverage docs types lib/widths.js",
1314
"docs": "typedoc",
1415
"lint": "eslint .",
1516
"trie": "node tools/genWidthTrie.js",

tools/genWidthTrie.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ async function processFile(name, trie, transform) {
1616
txt = await fs.readFile(INPUT, 'utf8');
1717
} catch (_ignored) {
1818
const url = `https://www.unicode.org/Public/UCD/latest/ucd/${name}.txt`;
19-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
2019
const res = await fetch(url);
2120
txt = await res.text();
2221
await fs.writeFile(INPUT, txt, 'utf8');

0 commit comments

Comments
 (0)