# "no-inline-style" Rule Disallows in-line stylings. ## Notes - This rule does **not** dependent on abstract tree build; ## Configuration Following are the available configurations for this rule, with default values: ```js "no-inline-style": { allowWhenDynamic: true } ``` Check the [Generic Configurations for Rules][generic-config]. ## Examples ### Example 1 ```js "no-inline-style": {} ``` For the above configuration, the following scenarios may happen: ```
// Invalid $10.00
// Valid, since there is a dynamic ISML expression
``` ### Example 2 ```js "no-inline-style": { allowWhenDynamic: false } ``` For the above configuration, the following scenarios may happen: ```
// Invalid $10.00
// Invalid
``` [generic-config]: <../generic-rule-config.md>