Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Nov 4, 2024
1 parent b89293f commit 4fe02ed
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 55 deletions.
1 change: 1 addition & 0 deletions code/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ module.exports = {
],
rules: {
'import/no-extraneous-dependencies': 'off',
'react/prop-types': 'off',
},
},
{
Expand Down
1 change: 1 addition & 0 deletions code/addons/test/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { type StorybookTheme, useTheme } from 'storybook/internal/theming';

import Filter from 'ansi-to-html';
// eslint-disable-next-line depend/ban-dependencies
import stripAnsi from 'strip-ansi';

export function isTestAssertionError(error: unknown) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable react/prop-types */
import React from 'react';

import { Rubik_Puddles } from 'next/font/google';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable react/prop-types */
import React from 'react';

import Link from 'next/link';
Expand Down
1 change: 1 addition & 0 deletions code/lib/cli-storybook/src/autoblock/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { expect, test, vi } from 'vitest';
import { JsPackageManagerFactory } from 'storybook/internal/common';
import { logger as loggerRaw } from 'storybook/internal/node-logger';

// eslint-disable-next-line depend/ban-dependencies
import stripAnsi from 'strip-ansi';

import { autoblock } from './index';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { beforeEach, describe, expect, it, vi } from 'vitest';

import type { JsPackageManager } from '@storybook/core/common';

// eslint-disable-next-line depend/ban-dependencies
import stripAnsi from 'strip-ansi';

import { missingStorybookDependencies } from './missing-storybook-dependencies';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';

// eslint-disable-next-line react/prop-types
export const Tag = ({ title = 'Beta' }) => <div>{title}</div>;
export const component = Tag;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable react/prop-types */
import React from 'react';

import { imported } from '../imported';
Expand Down
2 changes: 1 addition & 1 deletion test-storybooks/ember-cli/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules
enableImmutableInstalls: false
yarnPath: ../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../.yarn/releases/yarn-4.5.1.cjs
2 changes: 1 addition & 1 deletion test-storybooks/external-docs/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules
enableImmutableInstalls: false
yarnPath: ../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../.yarn/releases/yarn-4.5.1.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
enableImmutableInstalls: false
nodeLinker: node-modules
yarnPath: ../../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../../.yarn/releases/yarn-4.5.1.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarnPath: ../../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../../.yarn/releases/yarn-4.5.1.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: true

nodeLinker: node-modules

yarnPath: ../../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../../.yarn/releases/yarn-4.5.1.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: true

nodeLinker: node-modules

yarnPath: ../../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../../.yarn/releases/yarn-4.5.1.cjs
2 changes: 1 addition & 1 deletion test-storybooks/server-kitchen-sink/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules
enableImmutableInstalls: false
yarnPath: ../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../.yarn/releases/yarn-4.5.1.cjs
2 changes: 1 addition & 1 deletion test-storybooks/standalone-preview/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules
enableImmutableInstalls: false
yarnPath: ../../.yarn/releases/yarn-4.3.0.cjs
yarnPath: ../../.yarn/releases/yarn-4.5.1.cjs

0 comments on commit 4fe02ed

Please sign in to comment.