test: __dirnameはESModuleでは使えないので置き換えた (#8626)

This commit is contained in:
iwata
2022-05-14 16:09:47 +09:00
committed by GitHub
parent b2a5076d14
commit ebb4308a5c
6 changed files with 53 additions and 23 deletions

View File

@@ -0,0 +1,11 @@
module.exports = {
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
extends: ['../.eslintrc.cjs'],
env: {
node: true,
mocha: true,
},
};