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

61 lines
1.5 KiB

export default {
warnings: [
{
code: 'css-unused-selector',
frame: `
13:
14: /* no match */
15: .a + .e { color: green; }
^
16: .b + .c { color: green; }
17: .b + .d { color: green; }`,
message: 'Unused CSS selector ".a + .e"',
pos: 242,
start: { character: 242, column: 1, line: 15 },
end: { character: 249, column: 8, line: 15 }
},
{
code: 'css-unused-selector',
frame: `
14: /* no match */
15: .a + .e { color: green; }
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: .a + .e { color: green; }
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 }
}
]
};