Skip to content

Linter not catching export placement style violations #952

@coderabbitai

Description

@coderabbitai

Issue Description

The linter is not catching violations of the coding style where exports should be placed at the end of source files rather than inline with declarations.

Expected Behavior

Exports should be grouped at the end of files using the pattern:

interface SomeInterface {...}

// ... other code ...

export {SomeInterface};

Actual Behavior

The linter allows inline exports like:

export interface SomeInterface {...}

Example

Found in PR #949, file components/log-viewer-webui/client/src/components/QueryBox/index.tsx where export interface CaseSensitiveToggleProps appears at the top of the file instead of being grouped with other exports at the end.

Backlinks

Action Required

Review and update linter configuration to enforce export placement at the end of files.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions