metamigo-api: use in-tree dev configs
This commit is contained in:
parent
8abcdcd5b8
commit
ed3ef6fc21
5 changed files with 49 additions and 27 deletions
|
|
@ -1 +1,26 @@
|
|||
require("../.eslintrc.js");
|
||||
require("eslint-config-link/patch/modern-module-resolution");
|
||||
module.exports = {
|
||||
extends: [
|
||||
"eslint-config-link/profile/node",
|
||||
"eslint-config-link/eslint-config-amigo/profile/typescript",
|
||||
"eslint-config-link/eslint-config-amigo/profile/jest",
|
||||
],
|
||||
parserOptions: { tsconfigRootDir: __dirname },
|
||||
rules: {
|
||||
"new-cap": "off",
|
||||
"import/no-extraneous-dependencies": [
|
||||
// enable this when this is fixed
|
||||
// https://github.com/benmosher/eslint-plugin-import/pull/1696
|
||||
"off",
|
||||
{
|
||||
packageDir: [
|
||||
".",
|
||||
"node_modules/@digiresilience/amigo",
|
||||
"node_modules/@digiresilience/amigo-dev",
|
||||
],
|
||||
},
|
||||
],
|
||||
// TODO: enable this after jest fixes this issue https://github.com/nodejs/node/issues/38343
|
||||
"unicorn/prefer-node-protocol": "off"
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue