Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed May 11, 2024
1 parent a0d7417 commit 3eb98b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions packages/eslint-plugin/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
declare module 'eslint' {
interface SharedConfigurationSettings {
unocss?: {
configPath?: string
}
}
}

declare module '@typescript-eslint/utils/ts-eslint' {
interface SharedConfigurationSettings {
unocss?: {
Expand Down
2 changes: 1 addition & 1 deletion test/preset-legacy-compat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('preset-legacy-compat', () => {

await expect(css).toMatchInlineSnapshot(`
"/* layer: default */
.bg-\\[rgba\\(255\\,255\\,255\\,0\\.1\\)\\]{--un-bg-opacity:0.1;background-color:rgb(255,, 255,, 255,, var(--un-bg-opacity));}
.bg-\\[rgba\\(255\\,255\\,255\\,0\\.1\\)\\]{--un-bg-opacity:0.1;background-color:rgba(255, 255, 255, var(--un-bg-opacity));}
.text-red{--un-text-opacity:1;color:rgba(248, 113, 113, var(--un-text-opacity));}"
`)
})
Expand Down

0 comments on commit 3eb98b5

Please sign in to comment.