Skip to content

Commit 037c6e6

Browse files
chore(deps): update eslint packages (#895)
* chore(deps): update eslint packages * Fix eslint warnings --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
1 parent 54d372e commit 037c6e6

30 files changed

+1074
-521
lines changed

__tests__/changeLanguage.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { beforeEach, describe, expect, it } from 'vitest'
1+
import type { FluentVue } from '../src'
22

3-
import { isVue3, nextTick } from 'vue-demi'
43
import { FluentBundle, FluentResource } from '@fluent/bundle'
54
import ftl from '@fluent/dedent'
5+
import { beforeEach, describe, expect, it } from 'vitest'
66

7-
import type { FluentVue } from '../src'
7+
import { isVue3, nextTick } from 'vue-demi'
88
import { createFluentVue, useFluent } from '../src'
99
import { mountWithFluent } from './utils'
1010

__tests__/errorHandling.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { describe, expect, it, vi } from 'vitest'
2-
31
import { FluentBundle, FluentResource } from '@fluent/bundle'
2+
43
import ftl from '@fluent/dedent'
4+
import { describe, expect, it, vi } from 'vitest'
55

66
import { createFluentVue } from '../src'
77
import { mountWithFluent } from './utils'

__tests__/globalTranslations.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { beforeEach, describe, expect, it } from 'vitest'
1+
import type { FluentVue } from '../src'
22

33
import { FluentBundle, FluentResource } from '@fluent/bundle'
44

5-
import type { FluentVue } from '../src'
5+
import { beforeEach, describe, expect, it } from 'vitest'
66
import { createFluentVue } from '../src'
77

88
describe('mergedWith', () => {

__tests__/inheritBundle.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { describe, expect, it } from 'vitest'
1+
import type { Pattern } from '@fluent/bundle/esm/ast'
22

33
import { FluentBundle, FluentResource } from '@fluent/bundle'
44
import ftl from '@fluent/dedent'
5-
import type { Pattern } from '@fluent/bundle/esm/ast'
5+
import { describe, expect, it } from 'vitest'
66

77
import { inheritBundle } from '../src/inheritBundle'
88

__tests__/performance.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { describe, expect, it } from 'vitest'
1+
import { FluentBundle } from '@fluent/bundle'
22

3+
import { describe, expect, it } from 'vitest'
34
import { isReactive } from 'vue-demi'
4-
import { FluentBundle } from '@fluent/bundle'
55

66
import { createFluentVue } from '../src'
77

__tests__/utils/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { VueWrapper } from '@vue/test-utils'
2-
import * as TestUtils from '@vue/test-utils'
32
import type { ComponentOptions, ComponentPublicInstance } from 'vue-3'
4-
import { install, isVue3 } from 'vue-demi'
5-
63
import type { FluentVue } from '../../src'
4+
import * as TestUtils from '@vue/test-utils'
5+
6+
import { install, isVue3 } from 'vue-demi'
77

88
install()
99

__tests__/utils/ssr.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as TestUtils from '@vue/test-utils'
21
import type { ComponentOptions } from 'vue-3'
3-
import { install } from 'vue-demi'
4-
52
import type { FluentVue } from '../../src'
3+
import * as TestUtils from '@vue/test-utils'
4+
5+
import { install } from 'vue-demi'
66

77
install()
88

__tests__/vue/component.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { beforeEach, describe, expect, it, vi } from 'vitest'
2-
import { isVue2, isVue3 } from 'vue-demi'
3-
1+
import type { FluentVue } from '../../src'
42
import { FluentBundle, FluentResource } from '@fluent/bundle'
3+
54
import ftl from '@fluent/dedent'
5+
import { beforeEach, describe, expect, it, vi } from 'vitest'
66

7-
import { mountWithFluent } from '../utils'
7+
import { isVue2, isVue3 } from 'vue-demi'
88

9-
import type { FluentVue } from '../../src'
109
import { createFluentVue } from '../../src'
10+
import { mountWithFluent } from '../utils'
1111

1212
describe('component', () => {
1313
let fluent: FluentVue

__tests__/vue/composition.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { beforeEach, describe, expect, it } from 'vitest'
1+
import type { FluentVue } from '../../src'
22

33
import { FluentBundle, FluentResource } from '@fluent/bundle'
44
import ftl from '@fluent/dedent'
55

6-
import { mountWithFluent } from '../utils'
6+
import { beforeEach, describe, expect, it } from 'vitest'
77

8-
import type { FluentVue } from '../../src'
98
import { createFluentVue, useFluent } from '../../src'
9+
import { mountWithFluent } from '../utils'
1010

1111
describe('composition api', () => {
1212
let fluent: FluentVue

__tests__/vue/customComponents.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { beforeEach, describe, expect, it, vi } from 'vitest'
1+
import type { FluentVue } from '../../src'
22

33
import { FluentBundle, FluentResource } from '@fluent/bundle'
44
import ftl from '@fluent/dedent'
55

6-
import { mountWithFluent } from '../utils'
6+
import { beforeEach, describe, expect, it, vi } from 'vitest'
77

8-
import type { FluentVue } from '../../src'
98
import { createFluentVue } from '../../src'
9+
import { mountWithFluent } from '../utils'
1010

1111
describe('method', () => {
1212
let fluent: FluentVue

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy