mirror of
https://github.com/antebudimir/eslint-plugin-vanilla-extract.git
synced 2025-12-31 08:53:33 +00:00
chore: remove unnecessary test-case
This commit is contained in:
parent
090f90e3a2
commit
08abef5999
1 changed files with 0 additions and 28 deletions
|
|
@ -301,33 +301,5 @@ run({
|
||||||
`,
|
`,
|
||||||
errors: [{ messageId: 'emptyStyleDeclaration' }],
|
errors: [{ messageId: 'emptyStyleDeclaration' }],
|
||||||
},
|
},
|
||||||
|
|
||||||
// Variable declaration with empty style
|
|
||||||
// {
|
|
||||||
// code: `
|
|
||||||
// import { style } from '@vanilla-extract/css';
|
|
||||||
|
|
||||||
// export const layerStyle = (
|
|
||||||
// layer: 'reset' | 'theme' | 'component' | 'utilities',
|
|
||||||
// rule: StyleRule,
|
|
||||||
// debugId?: string,
|
|
||||||
// ) =>
|
|
||||||
// style(
|
|
||||||
// {
|
|
||||||
// '@layer': {
|
|
||||||
// [layerMap[layer]]: rule,
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
// debugId,
|
|
||||||
// );
|
|
||||||
|
|
||||||
// const { className } = layerStyle('component', {});
|
|
||||||
// `,
|
|
||||||
// errors: [{ messageId: 'emptyStyleDeclaration' }],
|
|
||||||
// output: `
|
|
||||||
// import { style } from '@vanilla-extract/css';
|
|
||||||
|
|
||||||
// `,
|
|
||||||
// },
|
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue