From c25d13d6404eae094d5f3dea131eb2daaa536b16 Mon Sep 17 00:00:00 2001 From: Pascal Weiland Date: Sat, 29 Aug 2020 18:08:48 +0200 Subject: [PATCH] fix(config): Require file direclty instead of only resolving the path. --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a654046..3460e0a 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ module.exports = { configs: { - recommended: require.resolve('./configs/recommended.js'), + recommended: require('./configs/recommended.js'), // eslint-disable-line global-require }, }; diff --git a/package.json b/package.json index 2f4aeca..e7f6adc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-swr", - "version": "0.0.3", + "version": "0.0.4", "main": "index.js", "repository": { "type": "git",