Skip to content

Commit

Permalink
chore: Add eslint no-useless-rename rule (#19966)
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie authored Jan 26, 2024
1 parent 6b0b044 commit c2631c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ module.exports = {
'no-constant-condition': 'off',
'no-prototype-builtins': 'off',
'no-irregular-whitespace': 'off',
'no-useless-rename': 'error',
'import/no-restricted-paths': [
'error',
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { LemonInput } from 'lib/lemon-ui/LemonInput/LemonInput'
import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag'
import { Spinner } from 'lib/lemon-ui/Spinner/Spinner'

import { authorizedUrlListLogic, AuthorizedUrlListType as AuthorizedUrlListType } from './authorizedUrlListLogic'
import { authorizedUrlListLogic, AuthorizedUrlListType } from './authorizedUrlListLogic'

function EmptyState({
numberOfResults,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/lemon-ui/Spinner/Spinner.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { LemonButton } from '@posthog/lemon-ui'
import { Meta } from '@storybook/react'

import { Spinner as Spinner, SpinnerOverlay } from './Spinner'
import { Spinner, SpinnerOverlay } from './Spinner'

const meta: Meta<typeof Spinner> = {
title: 'Lemon UI/Spinner',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/trends/persons-modal/PersonsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function PersonsModal({
})

const {
query: query,
query,
actors,
actorsResponseLoading,
actorsResponse,
Expand Down

0 comments on commit c2631c2

Please sign in to comment.