Skip to content

Commit 50e3a72

Browse files
committed
chore: fix linting
1 parent b1ace97 commit 50e3a72

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

examples/js-libp2p-example-chat/test/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'path'
22
import { fileURLToPath } from 'url'
3-
import { matchOutput } from 'test-ipfs-example/node'
43
import pDefer from 'p-defer'
4+
import { matchOutput } from 'test-ipfs-example/node'
55

66
const __dirname = path.dirname(fileURLToPath(import.meta.url))
77

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
"url": "https://github.com/libp2p/js-libp2p-examples/issues"
2323
},
2424
"homepage": "https://github.com/libp2p/js-libp2p-examples#readme",
25+
"eslintConfig": {
26+
"extends": "ipfs",
27+
"parserOptions": {
28+
"project": true,
29+
"sourceType": "module"
30+
}
31+
},
2532
"devDependencies": {
2633
"aegir": "^41.0.4"
2734
},

0 commit comments

Comments
 (0)