require('eslint-config-link/patch/modern-module-resolution');
module.exports = {
  extends: [
    "eslint-config-link/profile/node",
    "eslint-config-link/profile/typescript"
  ],
  parserOptions: { tsconfigRootDir: __dirname },
  rules: {
    "import/no-extraneous-dependencies": [
      // enable this when  this is fixed
      // https://github.com/benmosher/eslint-plugin-import/pull/1696
      "off",
      { packageDir: [".", "node_modules/@digiresilience/metamigo", "node_modules/@digiresilience/metamigo-dev"] },
    ],
    // TODO: enable this after jest fixes this issue https://github.com/nodejs/node/issues/38343
    "unicorn/prefer-node-protocol": "off"
  }
};
