Use this rule to control the number of spaces inside brackets ([ and ]).
Examples
With min-spaces-inside = 0 and max-spaces-inside = 0
the following code snippet would PASS:
object: [1, 2, abc]
the following code snippet would FAIL:
object: [ 1, 2, abc ]
With min-spaces-inside = 1 and max-spaces-inside = 3
the following code snippet would PASS:
object: [ 1, 2, abc ]
the following code snippet would PASS:
object: [ 1, 2, abc ]
the following code snippet would FAIL:
object: [ 1, 2, abc ]
the following code snippet would FAIL:
object: [1, 2, abc ]
With min-spaces-inside-empty = 0 and max-spaces-inside-empty = 0
the following code snippet would PASS:
object: []
the following code snippet would FAIL:
object: [ ]
With min-spaces-inside-empty = 1 and max-spaces-inside-empty = -1
the following code snippet would PASS:
object: [ ]
the following code snippet would FAIL:
object: []