You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/css/samples/general-siblings-combinator-if/_config.js

47 lines
1.1 KiB

export default {
warnings: [
{
code: 'css-unused-selector',
frame: `
14:
15: /* no match */
16: .b ~ .c { color: green; }
^
17: .b ~ .d { color: green; }
18: .c ~ .d { color: green; }`,
message: 'Unused CSS selector ".b ~ .c"',
pos: 269,
start: { character: 269, column: 1, line: 16 },
end: { character: 276, column: 8, line: 16 }
},
{
code: 'css-unused-selector',
frame: `
15: /* no match */
16: .b ~ .c { color: green; }
17: .b ~ .d { color: green; }
^
18: .c ~ .d { color: green; }
19: </style>`,
message: 'Unused CSS selector ".b ~ .d"',
pos: 296,
start: { character: 296, column: 1, line: 17 },
end: { character: 303, column: 8, line: 17 }
},
{
code: 'css-unused-selector',
frame: `
16: .b ~ .c { color: green; }
17: .b ~ .d { color: green; }
18: .c ~ .d { color: green; }
^
19: </style>
20:`,
message: 'Unused CSS selector ".c ~ .d"',
pos: 323,
start: { character: 323, column: 1, line: 18 },
end: { character: 330, column: 8, line: 18 }
}
]
};