Skip to content

Commit 296c9c7

Browse files
committed
Remove unneeded xo rule
1 parent d1880dd commit 296c9c7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
}
103103
}
104104
],
105-
"prettier": true,
106-
"rules": {
107-
"n/file-extension-in-import": "off"
108-
}
105+
"prettier": true
109106
}
110107
}

test/core.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test('xastscript', async function (t) {
1111
'should expose the public api (`/jsx-runtime`)',
1212
async function () {
1313
assert.deepEqual(
14+
// eslint-disable-next-line n/file-extension-in-import -- ESLint is wrong.
1415
Object.keys(await import('xastscript/jsx-runtime')).sort(),
1516
['Fragment', 'jsx', 'jsxs']
1617
)
@@ -21,6 +22,7 @@ test('xastscript', async function (t) {
2122
'should expose the public api (`/jsx-dev-runtime`)',
2223
async function () {
2324
assert.deepEqual(
25+
// eslint-disable-next-line n/file-extension-in-import -- ESLint is wrong.
2426
Object.keys(await import('xastscript/jsx-dev-runtime')).sort(),
2527
['Fragment', 'jsxDEV']
2628
)

0 commit comments

Comments
 (0)