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.../_config.js

47 lines
1.1 KiB

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