Skip to content

Commit

Permalink
chore(deps): upgrade storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
denkristoffer committed Apr 3, 2024
1 parent 2173d98 commit 99861fb
Show file tree
Hide file tree
Showing 6 changed files with 9,164 additions and 40,986 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ rulesDirPlugin.RULES_DIR = path.resolve(
__dirname,
'./scripts/eslint-rules/custom',
);

module.exports = {
parser: '@typescript-eslint/parser',
extends: [
Expand All @@ -16,6 +15,7 @@ module.exports = {
'plugin:jest/recommended',
'plugin:jest/style',
'plugin:you-dont-need-lodash-underscore/compatible',
'plugin:storybook/recommended',
],
plugins: ['import', 'react-hooks', 'jest-dom', 'testing-library', 'rulesdir'],
parserOptions: {
Expand Down
5 changes: 3 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ const emotionPlugin = [
];

module.exports = (api) => {
const isTest = api.env('test');
if (isTest) {
const isTestOrDevelopment = api.env('test') || api.env('development');

if (isTestOrDevelopment) {
return {
presets: [
[
Expand Down
Loading

0 comments on commit 99861fb

Please sign in to comment.