Last active
May 11, 2024 08:52
-
-
Save fasttime/77abbb1671d68f950a5156ffcf994bdb to your computer and use it in GitHub Desktop.
Run `npm test`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { config } from './recommended.mjs'; | |
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { tsImport } = require('tsx/esm/api'); | |
const { register } = require('tsx/cjs/api'); | |
async function main() { | |
const unregister = register(); // This call was unexpectedly required! | |
try { | |
return (await tsImport('./eslint.config.ts', __filename)).default; | |
} | |
finally { | |
unregister(); | |
} | |
} | |
module.exports = main(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devDependencies": { | |
"tsx": "^4.9.4" | |
}, | |
"scripts": { | |
"test": "node main.js" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const config = []; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment