-
Notifications
You must be signed in to change notification settings - Fork 382
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrongly transformed array of string #584
Comments
The generated code makes sense to me since you have provided items as an array: |
as i understand it should be an array of string , not super familiair with json schema, but how is it supposed to be ? |
I think they want to tell you that the issue is in eslint, not in json-schema |
hehe, i got the hint @Shinigami92 :) ... but if i look https://json-schema.org/understanding-json-schema/reference/array What i understand (again, i'm a noob in jsonschema)
[1, 2, 3, 4, 5] This let me think that
should allow ["one", "two", "three"] No ? |
|
oook :) thanks... let's go open a Pr there :) |
hello ...
i found an issue eslint-types/eslint-define-config that i think comes from the transformation of the jsonschema to typescript
this schema:
https://github.com/eslint/eslint/blob/b91f9dc072f17f5ea79803deb86cf002d031b4cf/lib/rules/camelcase.js#L30
is transformed
to
the issue is allow should be
string[]
instead of[string]
The text was updated successfully, but these errors were encountered: