Skip to content

Commit 79fb6ed

Browse files
committed
Fix warnings
1 parent 9c625f9 commit 79fb6ed

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.eslintignore

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

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
no-lockfile: true
2626
npm-test-script: 'test-ci'
27-
node-versions: '18,20,22,23,24'
27+
node-versions: '20,22,23,24'
2828
# We currently have some issues on Windows that will have to wait to be fixed
2929
# os: 'ubuntu-latest,windows-latest'
3030
os: 'ubuntu-latest'

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import neostandard, { resolveIgnoresFromGitignore } from 'neostandard'
1+
const neostandard = require('neostandard')
22

3-
export default neostandard({
3+
module.exports = neostandard({
44
ts: true,
55
env: ['mocha'],
66
ignores: [
7-
...resolveIgnoresFromGitignore(),
7+
...neostandard.resolveIgnoresFromGitignore(),
88
],
99
})

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.1.3",
44
"description": "Config parser for Socket.dev",
55
"homepage": "http://github.com/SocketDev/socket-config-js",
6+
"type": "commonjs",
67
"repository": {
78
"type": "git",
89
"url": "git://github.com/SocketDev/socket-config-js.git"

0 commit comments

Comments
 (0)