Skip to content

ci: add root .editorconfig and centralize lint configs under .github/config#355

Open
AJaySi wants to merge 1 commit intomainfrom
codex/add-comprehensive-linting-to-github-workflow
Open

ci: add root .editorconfig and centralize lint configs under .github/config#355
AJaySi wants to merge 1 commit intomainfrom
codex/add-comprehensive-linting-to-github-workflow

Conversation

@AJaySi
Copy link
Owner

@AJaySi AJaySi commented Feb 13, 2026

Motivation

  • Ensure editors auto-discover project formatting rules by adding a root .editorconfig shim so contributor tooling works out of the box.
  • Keep CI and lint configuration centralized under .github/config/ to make workflows and hooks reference a single location.
  • Provide a unified GitHub Actions workflow to run frontend and Python linters and pre-commit hooks against the repository.

Description

  • Added a root-level /.editorconfig to surface formatting rules to editors and IDEs without changing CI logic.
  • Added centralized lint configuration files under .github/config/: commitlint.config.cjs, editorconfig, pre-commit-config.yaml, pylintrc, pyproject.toml, and stylelintrc.json.
  • Added a new workflow /.github/workflows/lint.yml that runs Commitlint, ESLint/Stylelint for frontend, Ruff/Pylint for backend, pre-commit hooks, and a Gitleaks scan.
  • Configured the pre-commit hook entries and linter invocations to reference the files under .github/config/ (for example --config .github/config/pyproject.toml and --rcfile=.github/config/pylintrc).

Testing

  • Verified file contents and differences with nl -ba .editorconfig and nl -ba .github/config/editorconfig, which displayed the expected root shim and preserved centralized copy.
  • Inspected repository state with git status --short, which showed the new files staged as expected.
  • Committed the changes with git add .editorconfig && git commit -m "ci: add root editorconfig for out-of-box editor support", and the commit succeeded.
  • Generated PR metadata via the internal make_pr helper, which completed successfully.

Codex Task

@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
alwrity-ai Canceled Canceled Feb 13, 2026 10:48am

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@openhands-ai
Copy link

openhands-ai bot commented Feb 13, 2026

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Comprehensive Linting

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #355 at branch `codex/add-comprehensive-linting-to-github-workflow`

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments