From b23243e4fc47db04f0e1769edb82ba94e84683f3 Mon Sep 17 00:00:00 2001 From: Igor Date: Sat, 29 Dec 2018 13:39:46 +0200 Subject: [PATCH] Revert few more .storybook changes --- .eslintrc.js | 6 +----- .../storyshots/storyshots-core/src/frameworks/rn/loader.js | 2 +- lib/cli/generators/.eslintrc.js | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 34d904c5d9e..6d53d20298b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -131,11 +131,7 @@ module.exports = { }, }, { - files: [ - '**/react-native*/**', - '**/REACT_NATIVE/**/.storybook/**', - '**/crna*/**/.storybook/**', - ], + files: ['**/react-native*/**', '**/REACT_NATIVE*/**', '**/crna*/**'], rules: { 'jsx-a11y/accessible-emoji': ignore, }, diff --git a/addons/storyshots/storyshots-core/src/frameworks/rn/loader.js b/addons/storyshots/storyshots-core/src/frameworks/rn/loader.js index 88943fa194e..b7f08baeecc 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/rn/loader.js +++ b/addons/storyshots/storyshots-core/src/frameworks/rn/loader.js @@ -10,7 +10,7 @@ function test(options) { } function configure(options, storybook) { - const { configPath = '.storybook', config } = options; + const { configPath = 'storybook', config } = options; if (config && typeof config === 'function') { config(storybook); diff --git a/lib/cli/generators/.eslintrc.js b/lib/cli/generators/.eslintrc.js index 7960744bca2..1d03de880fa 100644 --- a/lib/cli/generators/.eslintrc.js +++ b/lib/cli/generators/.eslintrc.js @@ -2,7 +2,7 @@ const ignore = 0; module.exports = { overrides: { - files: ['*/template/**', '*/template/.storybook/**'], + files: '*/template/**', rules: { 'import/no-unresolved': ignore, 'import/no-extraneous-dependencies': ignore,