Skip to content

chore: remove max-lines-per-function eslint rule#157

Merged
owengretzinger merged 1 commit intomainfrom
01-17-refactor_remove_eslint_max-lines-per-function_rule
Jan 27, 2025
Merged

chore: remove max-lines-per-function eslint rule#157
owengretzinger merged 1 commit intomainfrom
01-17-refactor_remove_eslint_max-lines-per-function_rule

Conversation

@owengretzinger
Copy link
Collaborator

@owengretzinger owengretzinger commented Jan 17, 2025

TL;DR

Removed the max-lines-per-function ESLint rule and its related disable comments throughout the codebase.

What changed?

  • Removed the max-lines-per-function rule from .eslintrc.js
  • Removed all eslint-disable max-lines-per-function comments from various files across the project
  • Kept other ESLint configurations intact

Why make this change?

The max-lines-per-function rule was creating unnecessary constraints and noise in the codebase. Some functions legitimately needed to be longer due to their complexity or UI rendering requirements. Removing this rule allows for more flexible function lengths while maintaining other code quality standards.

@owengretzinger owengretzinger changed the title refactor: remove eslint max-lines-per-function rule chore: remove max-lines-per-function eslint rule Jan 17, 2025
@owengretzinger owengretzinger marked this pull request as ready for review January 17, 2025 18:10
@graphite-app graphite-app bot requested a review from AnkushSarkar10 January 17, 2025 18:10
@graphite-app
Copy link

graphite-app bot commented Jan 17, 2025

Graphite Automations

"Request reviewers once CI passes" took an action on this PR • (01/17/25)

1 reviewer was added to this PR based on Owen Gretzinger's automation.

@owengretzinger owengretzinger force-pushed the 01-17-feat_respond_to_notification_functionality branch from 492d5b1 to a423843 Compare January 27, 2025 07:47
@owengretzinger owengretzinger force-pushed the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch from b230022 to c95ad01 Compare January 27, 2025 07:48
@owengretzinger owengretzinger force-pushed the 01-17-feat_respond_to_notification_functionality branch from a423843 to e6b12dd Compare January 27, 2025 07:55
@owengretzinger owengretzinger force-pushed the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch from c95ad01 to 09db1f7 Compare January 27, 2025 07:56
@owengretzinger owengretzinger force-pushed the 01-17-feat_respond_to_notification_functionality branch from e6b12dd to adb931f Compare January 27, 2025 08:00
@owengretzinger owengretzinger force-pushed the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch from 09db1f7 to d8c99d2 Compare January 27, 2025 08:01
@owengretzinger owengretzinger force-pushed the 01-17-feat_respond_to_notification_functionality branch 2 times, most recently from f05f966 to b427b7a Compare January 27, 2025 08:04
@owengretzinger owengretzinger force-pushed the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch from d8c99d2 to e6cefd4 Compare January 27, 2025 08:04
@owengretzinger owengretzinger changed the base branch from 01-17-feat_respond_to_notification_functionality to graphite-base/157 January 27, 2025 08:08
@owengretzinger owengretzinger force-pushed the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch from e6cefd4 to ac6d7dd Compare January 27, 2025 08:08
@owengretzinger owengretzinger changed the base branch from graphite-base/157 to main January 27, 2025 08:08
@owengretzinger owengretzinger force-pushed the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch from ac6d7dd to f83aa3a Compare January 27, 2025 08:08
@owengretzinger owengretzinger merged commit ef4ebea into main Jan 27, 2025
2 checks passed
Copy link
Collaborator Author

Merge activity

  • Jan 27, 3:12 AM EST: A user merged this pull request with Graphite.

@owengretzinger owengretzinger deleted the 01-17-refactor_remove_eslint_max-lines-per-function_rule branch January 27, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants