Skip to content

Commit 5e39751

Browse files
committed
chore: lint
1 parent 5b72503 commit 5e39751

File tree

8 files changed

+15
-23
lines changed

8 files changed

+15
-23
lines changed

.eslintrc.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
node-version:
1111
- 18.x
1212
- 20.x
13-
- 21.x
13+
- 22.x
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: oven-sh/setup-bun@v1

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ coverage
44

55

66
yarn-error.log
7+
*.config.*

.nycrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"**/*.spec.js",
66
"**/fixture",
77
"test",
8-
".*.{js,mjs}"
8+
".*.{js,mjs}",
9+
"**/*.config.*"
910
],
1011
"branches": 100,
1112
"lines": 100,

eslint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
const {safeAlign} = require('eslint-plugin-putout/config');
4+
5+
module.exports = safeAlign;

lib/flop.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

3-
const {rename, mkdir} = require('fs/promises');
4-
const path = require('path');
3+
const {rename, mkdir} = require('node:fs/promises');
4+
const path = require('node:path');
55

6-
const {once} = require('events');
6+
const {once} = require('node:events');
77

88
const size = require('trammel');
99
const check = require('checkup');

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"checkup": "^1.3.0",
4040
"copymitter": "^9.0.0",
4141
"minimist": "^1.2.0",
42-
"readify": "^10.0.0",
4342
"remy": "^7.0.0",
4443
"trammel": "^6.0.2",
4544
"try-to-catch": "^3.0.0",
@@ -54,7 +53,6 @@
5453
"@iocmd/wait": "^2.1.0",
5554
"c8": "^10.1.2",
5655
"eslint": "^9.9.0",
57-
"eslint-plugin-n": "^16.6.2",
5856
"eslint-plugin-putout": "^22.5.0",
5957
"madrun": "^10.0.1",
6058
"mock-require": "^3.0.2",

test/flop.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict';
22

3-
const {EventEmitter} = require('events');
4-
const path = require('path');
5-
const {mkdirSync} = require('fs');
3+
const {EventEmitter} = require('node:events');
4+
const path = require('node:path');
5+
const {mkdirSync} = require('node:fs');
66

77
const wait = require('@iocmd/wait');
88
const {test, stub} = require('supertape');

0 commit comments

Comments
 (0)