Skip to content

Commit

Permalink
Merge pull request #9 from YayC/2024-08-27-lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
temoncher authored Sep 3, 2024
2 parents d8cc020 + 51e140f commit 7bf6dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-clsx",
"version": "0.0.3",
"version": "0.0.4",
"description": "An ESLint plugin for clsx/classnames",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
3 changes: 2 additions & 1 deletion src/rules/no-redundant-clsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const rule: Rule.RuleModule = {
context.report({
messageId: 'default',
node: clsxCallNode,
fix: (fixer) => fixer.replaceText(clsxCallNode, sourceCode.getText(firstArg)),
fix: (fixer) =>
fixer.replaceText(clsxCallNode, sourceCode.getText(firstArg)),
});
}

Expand Down

0 comments on commit 7bf6dc1

Please sign in to comment.