Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed May 18, 2024
1 parent b1867a6 commit ab09b61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ ignorePaths:
- '**/*.svg'
- .vscode/extensions.json
- public
- tsconfig.tsbuildinfo
- playwright-report
- test-results
words:
- tsbuildinfo
- callees
- classname
- clsx
- commitlint
- compat
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe('utils', () => {
});

it('should merge classes using cn function', () => {
// eslint-disable-next-line tailwindcss/classnames-order, tailwindcss/no-contradicting-classname
const classes = cn('text-black p-4', 'text-white');

expect(classes).toBe('p-4 text-white');
Expand Down

0 comments on commit ab09b61

Please sign in to comment.