requireSpacesInsideImportedObjectBraces

Requires space after opening object curly brace and before closing in import statements.

Type: Boolean

Value: true

Example

"requireSpacesInsideImportedObjectBraces": true
Valid
import { foo, bar } from 'foo-bar';

import { foo as f, bar } from 'foo-bar';
Invalid
import {foo, bar} from 'foo-bar';

import {foo as f, bar} from 'foo-bar';
Rule source
Test source