# import-notation Specify string or URL notation for `@import` rules. ```css @import url("x.jpg"); /** ↑ * This notation */ ``` The [`fix` option](../../../docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options `string`: `"string"|"url"` ### `"string"` `@import` rules _must always_ use string notation. The following patterns are considered problems: ```css @import url(foo.css); ``` ```css @import url('foo.css'); ``` ```css @import url("foo.css"); ``` The following patterns are _not_ considered problems: ```css @import 'foo.css'; ``` ```css @import "foo.css"; ``` ### `"url"` `@import` rules _must always_ use URL notation. The following patterns are considered problems: ```css @import 'foo.css'; ``` ```css @import "foo.css"; ``` The following patterns are _not_ considered problems: ```css @import url(foo.css); ``` ```css @import url('foo.css'); ``` ```css @import url("foo.css"); ```