Skip to content

Commit

Permalink
Update .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
EvandroLG committed Dec 26, 2024
1 parent 0cf78a5 commit 02dafe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ module.exports = {
'import/order': [
'error',
{
groups: [
['type'],
['builtin', 'external'],
['internal'],
['parent', 'sibling', 'index'],
],
groups: [['type'], ['builtin', 'external'], ['internal'], ['parent', 'sibling', 'index']],
pathGroups: [
{
pattern: '@/**',
Expand All @@ -55,4 +50,4 @@ module.exports = {
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',
},
};
}
4 changes: 2 additions & 2 deletions src/playlist/__tests__/AudioPlaylist.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe('audio playlist', () => {

describe('preload', () => {
beforeEach(() => {
;(utils.preloadFiles as jest.Mock).mockClear()
(utils.preloadFiles as jest.Mock).mockClear()
})

it('should preload files using the default limit', () => {
Expand Down Expand Up @@ -149,7 +149,7 @@ describe('audio playlist', () => {

describe('shuffle', () => {
beforeEach(() => {
;(utils.shuffle as jest.Mock).mockClear()
(utils.shuffle as jest.Mock).mockClear()
})

it('should shuffle the files', () => {
Expand Down

0 comments on commit 02dafe0

Please sign in to comment.