Skip to content

Add a castom lint rule to check for duplicates, and eslint itself.#213

Closed
Cross-sama wants to merge 1 commit intoes-tooling:mainfrom
Cross-sama:main
Closed

Add a castom lint rule to check for duplicates, and eslint itself.#213
Cross-sama wants to merge 1 commit intoes-tooling:mainfrom
Cross-sama:main

Conversation

@Cross-sama
Copy link
Copy Markdown

Tried to fix issue discribed here:

#48

schema: [],
},
create(context) {
// only run once per lint run (on Program)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this create will run per JS file

we should probably run against the JSON files and report the specific file/position while traversing it

that also means we'd need to setup eslint to be able to lint JSON, though.

i.e. it should visit each manifest and check against the already seen set, to then report the exact position in the current manifest being linted

@gameroman
Copy link
Copy Markdown
Contributor

@43081j you closed #48 so this can be closed too

@43081j
Copy link
Copy Markdown
Contributor

43081j commented Mar 13, 2026

we are going to stick with our scripts for now but may revisit eslint rules in future

@43081j 43081j closed this Mar 13, 2026
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.

3 participants