From f663bcade85fa62b143d096335fc823dec9dd558 Mon Sep 17 00:00:00 2001 From: samchungy Date: Tue, 26 Nov 2024 12:56:23 +1100 Subject: [PATCH] esm now --- packages/skuba-dive/eslint.config.js | 1 - packages/skuba-dive/eslint.config.mjs | 3 +++ packages/skuba-dive/tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 packages/skuba-dive/eslint.config.js create mode 100644 packages/skuba-dive/eslint.config.mjs diff --git a/packages/skuba-dive/eslint.config.js b/packages/skuba-dive/eslint.config.js deleted file mode 100644 index 35bf04c06..000000000 --- a/packages/skuba-dive/eslint.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('eslint-config-skuba'); diff --git a/packages/skuba-dive/eslint.config.mjs b/packages/skuba-dive/eslint.config.mjs new file mode 100644 index 000000000..5e4008328 --- /dev/null +++ b/packages/skuba-dive/eslint.config.mjs @@ -0,0 +1,3 @@ +import eslintConfig from 'eslint-config-skuba'; + +export default eslintConfig; diff --git a/packages/skuba-dive/tsconfig.json b/packages/skuba-dive/tsconfig.json index f5afeed6f..fab0cf6f5 100644 --- a/packages/skuba-dive/tsconfig.json +++ b/packages/skuba-dive/tsconfig.json @@ -9,6 +9,6 @@ "removeComments": false, "target": "ES2020" }, - "exclude": ["lib*/**/*", "eslint.config.js"], + "exclude": ["lib*/**/*"], "extends": "../../config/tsconfig.json" }