mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
Initial commit
This commit is contained in:
18
node_modules/stylelint-selector-no-utility/test/index.js
generated
vendored
Normal file
18
node_modules/stylelint-selector-no-utility/test/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
var testRule = require("stylelint-test-rule-tape")
|
||||
var rule = require("..")
|
||||
|
||||
testRule(rule.rule, {
|
||||
ruleName: rule.ruleName,
|
||||
config: true,
|
||||
skipBasicChecks: true,
|
||||
accept: [
|
||||
{ code: "a { }" }
|
||||
],
|
||||
reject: [
|
||||
{ code: ".m-0 { color: #fff; }" },
|
||||
{ code: ".m-0:hover { color: #fff; }" },
|
||||
{ code: ".m-2, .foo { color: #fff; }" },
|
||||
{ code: ".m-2[type=button] { color: #fff; }" },
|
||||
{ code: ".foo.m-0 { color: #fff; }" }
|
||||
]
|
||||
})
|
Reference in New Issue
Block a user