Skip to content

Commit a5ffd35

Browse files
committed
fix: fixed xo rule from warn > off
1 parent 37c9fdc commit a5ffd35

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.xo-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module.exports = {
33
space: true,
44
extends: ['xo-lass'],
55
rules: {
6-
'unicorn/prefer-node-protocol': 'warn'
6+
'unicorn/prefer-node-protocol': 'off'
77
}
88
};

index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
const childProcess = require('node:child_process');
2-
const fs = require('node:fs');
3-
const http = require('node:http');
4-
const os = require('node:os');
5-
const path = require('node:path');
6-
const process = require('node:process');
7-
const util = require('node:util');
1+
const childProcess = require('child_process');
2+
const fs = require('fs');
3+
const http = require('http');
4+
const os = require('os');
5+
const path = require('path');
6+
const process = require('process');
7+
const util = require('util');
88

99
const displayNotification = require('display-notification');
1010
const getPort = require('get-port');

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"dependencies": {
1414
"ci-info": "^3.7.1",
1515
"display-notification": "2.0.0",
16+
"fixpack": "^4.0.0",
1617
"get-port": "5.1.1",
1718
"mailparser": "^3.6.3",
1819
"nodemailer": "^6.9.1",

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const fs = require('node:fs');
2-
const path = require('node:path');
1+
const fs = require('fs');
2+
const path = require('path');
33

44
const test = require('ava');
55
const nodemailer = require('nodemailer');

0 commit comments

Comments
 (0)