From 74e3a84d1d4bd720c8d84d6f74e1942a1cd5bfa4 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 1 Nov 2023 16:20:57 +0100 Subject: [PATCH] Refactor to move files around --- index.js | 6 +++--- lib/{core.js => index.js} | 0 package.json | 5 ----- 3 files changed, 3 insertions(+), 8 deletions(-) rename lib/{core.js => index.js} (100%) diff --git a/index.js b/index.js index 5aa6a71..25132f1 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,8 @@ /** * @typedef {import('lowlight').LanguageFn} LanguageFn - * @typedef {import('./lib/core.js').AutoOptions} AutoOptions - * @typedef {import('./lib/core.js').Sheet} Sheet + * @typedef {import('./lib/index.js').AutoOptions} AutoOptions + * @typedef {import('./lib/index.js').Sheet} Sheet */ export {all, common} from 'lowlight' -export {createEmphasize} from './lib/core.js' +export {createEmphasize} from './lib/index.js' diff --git a/lib/core.js b/lib/index.js similarity index 100% rename from lib/core.js rename to lib/index.js diff --git a/package.json b/package.json index d97bf77..b362e8f 100644 --- a/package.json +++ b/package.json @@ -71,11 +71,6 @@ "atLeast": 100, "detail": true, "ignoreCatch": true, - "#": "Expected `any`s", - "ignoreFiles": [ - "lib/common.d.ts", - "lib/all.d.ts" - ], "strict": true }, "xo": {