Skip to content

Commit

Permalink
Update to eslint 9 (#50064)
Browse files Browse the repository at this point in the history
  • Loading branch information
avatus authored Dec 13, 2024
1 parent 1fecbb4 commit 57e29f4
Show file tree
Hide file tree
Showing 10 changed files with 471 additions and 662 deletions.
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

0 comments on commit 57e29f4

Please sign in to comment.