Skip to content

Commit 4429d04

Browse files
committed
manually disable no-unused-expressions rule in template
1 parent a91e46d commit 4429d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ const preprocess = text => {
218218

219219
// add expressions from template to the constructed string
220220
if (ast.html) {
221-
transformed_code += '\n/* eslint-enable *//* eslint indent: 0, quotes: 0, semi: 0 */';
221+
transformed_code += '\n/* eslint-enable *//* eslint indent: 0, no-unused-expressions: 0, quotes: 0, semi: 0 */';
222222
// find all expressions in the AST
223223
walk(ast.html, {
224224
enter(node, parent, prop) {

0 commit comments

Comments
 (0)