Skip to content

Commit

Permalink
Added instructions how to make the rule work (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martynas Barzda authored and kristerkari committed Jun 11, 2018
1 parent 5c5bcbf commit 470a792
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/rules/at-rule-no-unknown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ Disallow unknown at-rules. Should be used **instead of** stylelint's [at-rule-no
* At-rules like this */
```

This rule is basically a wrapper around the mentioned core rule, but with added SCSS-specific `@`-directives. So if you use the core rule, `@if`, `@extend` and other Sass-y things will get warnings.
This rule is basically a wrapper around the mentioned core rule, but with added SCSS-specific `@`-directives. So if you use the core rule, `@if`, `@extend` and other Sass-y things will get warnings. You must to disable core rule to make this rule work:

```json
{
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
}
```

## Options

Expand Down

0 comments on commit 470a792

Please sign in to comment.