Skip to content

Commit e8310c7

Browse files
committed
fix: ESLinter
1 parent 2fc0a44 commit e8310c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@
114114
"space-before-function-paren": "off",
115115
"no-else-return": "off",
116116
"import/no-unassigned-import": "off",
117-
"ava/use-t": "off"
117+
"ava/use-t": "off",
118+
"no-unused-expressions": "off"
118119
}
119120
}
120121
}

src/compile-to-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default async function(filenames, options = {}) {
137137

138138
await fs.remove(templateDir('__template.js'));
139139
// Only run when tailwind options is true
140-
defaultOptions.tailwind && (await fs.remove(copyResult[1]));
140+
(defaultOptions.tailwind && await fs.remove(copyResult[1]));
141141

142142
let { code } = output[0];
143143

0 commit comments

Comments
 (0)