From 1d2d3bfac65672cdad92e763c45556e2071d90a8 Mon Sep 17 00:00:00 2001 From: 5c077yP Date: Wed, 20 Apr 2016 16:33:57 +0200 Subject: [PATCH] fix broken index.js config --- index.js | 2 +- react.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 5ce56c4..869f1a7 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ module.exports = { extends: [ 'eslint-config-airbnb/base', - './rules/default.js' + require.resolve('./rules/default') ], rules: {} }; diff --git a/react.js b/react.js index 6939ff5..32eb944 100644 --- a/react.js +++ b/react.js @@ -1,8 +1,8 @@ module.exports = { extends: [ 'eslint-config-airbnb/base', - './rules/default.js', - './rules/react.js' + require.resolve('./rules/default'), + require.resolve('./rules/react') ], rules: {} };