Skip to content

Commit 00df11b

Browse files
authored
chore: update config attributes and lint rules (#504)
1 parent bf79ad8 commit 00df11b

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

packages/uniwind/.oxlintrc.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44
},
55
"rules": {
66
"unicorn/no-empty-file": "off",
7-
"typescript/strict-boolean-expressions": [
8-
"error",
9-
{
10-
"allowAny": true,
11-
"allowNullableBoolean": true,
12-
"allowNullableEnum": true
13-
}
14-
],
7+
"typescript/strict-boolean-expressions": "off",
158
"typescript/no-implied-eval": "off"
169
},
1710
"ignorePatterns": [

packages/uniwind/src/core/config/config.common.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ export class UniwindConfigBuilder {
9696
}
9797
}
9898

99-
updateCSSVariables(_: ThemeName, __: CSSVariables) {
99+
// oxlint-disable-next-line typescript/no-unused-vars
100+
updateCSSVariables(theme: ThemeName, cssVariables: CSSVariables) {
100101
// noop
101102
}
102103

103-
updateInsets(_: Insets) {
104+
// oxlint-disable-next-line typescript/no-redundant-type-constituents
105+
updateInsets(insets: Insets) {
104106
// noop
105107
}
106108

0 commit comments

Comments
 (0)