From 45e870d812c579332da81231bbacf20cf1b990d9 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Fri, 14 Jul 2023 00:42:14 +0200 Subject: [PATCH] chore: use .eslintrc.cjs --- .eslintrc.cjs | 16 ++++++++++++++++ package.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .eslintrc.cjs diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..cea20a1 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,16 @@ +module.exports = { + extends: ['@bjerk/eslint-config', 'plugin:jest/recommended'], + plugins: ['jest'], + overrides: [ + { + files: 'jest.config.*', + rules: { + 'import/no-default-export': 'off', + }, + }, + ], + parserOptions: { + project: true, + tsconfigRootDir: __dirname, + }, +}; diff --git a/package.json b/package.json index bb5b01f..32fd424 100644 --- a/package.json +++ b/package.json @@ -54,4 +54,4 @@ "typedoc-plugin-markdown": "^3.0.8", "typescript": "^4.0.3" } -} \ No newline at end of file +}