Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add JSON linting#36192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
silverwind wants to merge7 commits intogo-gitea:main
base:main
Choose a base branch
Loading
fromsilverwind:jsonlint
Open

Conversation

@silverwind
Copy link
Member

@silverwindsilverwind commentedDec 18, 2025
edited
Loading

Useshttps://github.com/eslint/json to lint all JSON and JSONC files in the repo.

@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelDec 18, 2025
@GiteaBotGiteaBot added lgtm/need 1This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelsDec 18, 2025
@silverwind
Copy link
MemberAuthor

silverwind commentedDec 18, 2025
edited
Loading

I need to test whether it's possible to have this in one config file. Not super thrilled to add another config file to the repo root. Likely this would require passing explicit list of files because the--ext option may be unsuitable.

@GiteaBotGiteaBot added lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelsDec 18, 2025
@silverwind
Copy link
MemberAuthor

silverwind commentedDec 18, 2025
edited
Loading

I conclude it's not possible to have a shared eslint config while retaining the ability to lint only JSON files without specifying them explicitely to eslint. So the two config files will have to remain.

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

Reviewers

@lunnylunnylunny approved these changes

+1 more reviewer

@Zettat123Zettat123Zettat123 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore.modifies/dependenciesmodifies/frontendmodifies/internal

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@silverwind@lunny@Zettat123@GiteaBot

[8]ページ先頭

©2009-2025 Movatter.jp