From ee5f9a2224229fe0579e9f824b79531916cf30fc Mon Sep 17 00:00:00 2001 From: Vladimir Starkov Date: Tue, 25 Apr 2017 09:03:26 +0200 Subject: [PATCH] fix unfound rules eslint errors --- src/index.js | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/index.js b/src/index.js index af190b7..03df09d 100644 --- a/src/index.js +++ b/src/index.js @@ -8,19 +8,14 @@ export default { tooManyArguments, exists }, - rulesConfig: { - notEmpty: 2, - tooManyArguments: 2, - exists: [ 2, { extensions: [ '', '.js', '.json', '.node' ] }] - }, configs: { recommended: { plugins: ['require-path-exists'], rules: { - notEmpty: 2, - tooManyArguments: 2, - exists: [ 2, { extensions: [ '', '.js', '.json', '.node' ] }] - }, - }, - }, + 'require-path-exists/notEmpty': 2, + 'require-path-exists/tooManyArguments': 2, + 'require-path-exists/exists': [ 2, { extensions: ['', '.js', '.json', '.node'] }] + } + } + } };