Skip to content
Discussion options

You must be logged in to vote

You can look at the tests to be sure:

Some(serde_json::json!(["index-signature"])),

Tells that the configurations is:

"consistent-indexed-object-style": ["error", "index-signature"]

A configuration like:

Some(serde_json::json!([{"fake": "hello"}])),

Will be resolved to:

"consistent-indexed-object-style": ["error", {
  "fake": "hello"
}]

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mesqueeb
Comment options

@nrayburn-tech
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mesqueeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants