Skip to content

Conversation

Cross-sama
Copy link

Tried to fix issue discribed here:

#48

schema: [],
},
create(context) {
// only run once per lint run (on Program)
Copy link
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

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