Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to eslint 9 #50064

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintrc.js

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Teleport
* Copyright (C) 2024 Gravitational, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import eslint from './web/packages/build/eslint.config.mjs';
export default eslint;
700 changes: 240 additions & 460 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions web/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*/

import React, { ComponentType, PropsWithChildren } from 'react';

import { Preview } from '@storybook/react';

import { initialize, mswLoader } from 'msw-storybook-addon';

import { bblpTheme, darkTheme, lightTheme } from '../packages/design/src/theme';
import { ConfiguredThemeProvider } from '../packages/design/src/ThemeProvider';
import Box from '../packages/design/src/Box';
Expand All @@ -27,9 +32,7 @@ import {
} from '../packages/teleterm/src/ui/ThemeProvider/theme';
import history from '../packages/teleport/src/services/history/history';
import { UserContextProvider } from '../packages/teleport/src/User';
import { Preview } from '@storybook/react';
import { Theme } from '../packages/design/src/theme/themes/types';
import { initialize, mswLoader } from 'msw-storybook-addon';

initialize();

Expand Down
180 changes: 0 additions & 180 deletions web/packages/build/.eslintrc.js

This file was deleted.

Loading
Loading