mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Remove unneeded eslint ignores
This commit is contained in:
parent
33326c0932
commit
b8aa8fe0bc
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import Image from 'next/image';
|
||||
// eslint-disable-next-line import/extensions
|
||||
|
||||
import StackAlt from '../../assets/colors.svg';
|
||||
|
||||
export default {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import Image from 'next/future/image';
|
||||
// eslint-disable-next-line import/extensions
|
||||
|
||||
import StackAlt from '../../assets/colors.svg';
|
||||
|
||||
export default {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import Image from 'next/legacy/image';
|
||||
// eslint-disable-next-line import/extensions
|
||||
|
||||
import StackAlt from '../../assets/colors.svg';
|
||||
|
||||
export default {
|
||||
|
@ -96,7 +96,7 @@ export async function pluginConfig(options: ExtendedOptions) {
|
||||
|
||||
// TODO: framework doesn't exist, should move into framework when/if built
|
||||
if (frameworkName === '@storybook/glimmerx-vite') {
|
||||
// eslint-disable-next-line global-require, import/extensions
|
||||
// eslint-disable-next-line global-require
|
||||
const plugin = require('vite-plugin-glimmerx/index.cjs');
|
||||
plugins.push(plugin.default());
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// eslint-disable-next-line import/extensions
|
||||
require('../dist/generate.js');
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable import/extensions */
|
||||
import { html } from 'lit-html';
|
||||
import { styleMap } from 'lit-html/directives/style-map.js';
|
||||
import { addons, useEffect } from '@storybook/preview-api';
|
||||
|
@ -6,7 +6,7 @@ import { global } from '@storybook/global';
|
||||
import { dedent } from 'ts-dedent';
|
||||
import { render as litRender } from 'lit-html';
|
||||
// Keep `.js` extension to avoid issue with Webpack (related to export map?)
|
||||
// eslint-disable-next-line import/extensions
|
||||
|
||||
import { isTemplateResult } from 'lit-html/directive-helpers.js';
|
||||
import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api';
|
||||
import type { RenderContext, ArgsStoryFn } from '@storybook/types';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { global as globalThis } from '@storybook/global';
|
||||
import { html, LitElement } from 'lit';
|
||||
// eslint-disable-next-line import/extensions
|
||||
|
||||
import { styleMap } from 'lit-html/directives/style-map.js';
|
||||
|
||||
const { customElements } = globalThis;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { global } from '@storybook/global';
|
||||
import { LitElement, html } from 'lit';
|
||||
// eslint-disable-next-line import/extensions
|
||||
|
||||
import { demoWcCardStyle } from './demoWcCardStyle.css.js';
|
||||
|
||||
const { CustomEvent } = global;
|
||||
|
@ -1,4 +1,3 @@
|
||||
// eslint-disable-next-line import/extensions
|
||||
import { DemoWcCard } from './DemoWcCard.js';
|
||||
|
||||
// eslint-disable-next-line no-undef
|
||||
|
Loading…
x
Reference in New Issue
Block a user