From f981b1334e70050610568755bab9c71d1a68d9c1 Mon Sep 17 00:00:00 2001 From: Ashton Eby Date: Tue, 22 Oct 2024 16:37:01 -0700 Subject: [PATCH] fix: export eslint config as CJS --- config/eslint.config.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/eslint.config.js b/config/eslint.config.js index 05900a6..64ad351 100644 --- a/config/eslint.config.js +++ b/config/eslint.config.js @@ -1,5 +1,5 @@ // borrowed from fauna-shell -export default [ +const config = [ { ignores: ["**/node_modules", ".history"], }, @@ -33,3 +33,5 @@ export default [ }, }, ]; + +module.exports = config; diff --git a/package.json b/package.json index d877f1c..4b23735 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fauna/typescript", - "version": "0.0.5", + "version": "0.0.6", "description": "A collection of lint, format, and build configs used at Fauna for TypeScript projects.", "main": "index.js", "scripts": {