Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Demivan committed Mar 17, 2023
1 parent dba526c commit 96f92ab
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion __tests__/frameworks/vite/errors.spec.ts
@@ -1,4 +1,4 @@
import { resolve } from 'path'
import { resolve } from 'node:path'
import { describe, expect, it } from 'vitest'

import vue3base from '@vitejs/plugin-vue'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/frameworks/vite/external.spec.ts
@@ -1,4 +1,4 @@
import { relative, resolve } from 'path'
import { relative, resolve } from 'node:path'
import { describe, expect, it } from 'vitest'

import vue3base from '@vitejs/plugin-vue'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/frameworks/vite/util.ts
@@ -1,4 +1,4 @@
import { resolve, sep } from 'path'
import { resolve, sep } from 'node:path'

import type { InlineConfig, ModuleNode } from 'vite'
import { createServer } from 'vite'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/frameworks/webpack/util.ts
@@ -1,4 +1,4 @@
import path from 'path'
import path from 'node:path'
import webpack from 'webpack'
import { Volume, createFsFromVolume } from 'memfs'

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/external-plugin.ts
@@ -1,5 +1,5 @@
import { join, relative } from 'path'
import { stat as fsStat } from 'fs/promises'
import { join, relative } from 'node:path'
import { stat as fsStat } from 'node:fs/promises'
import { createUnplugin } from 'unplugin'

import MagicString from 'magic-string'
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
@@ -1,4 +1,4 @@
import { promises as fs } from 'fs'
import { promises as fs } from 'node:fs'

export function warn(...args: unknown[]) {
console.warn('[unplugin-fluent-vue] ', ...args)
Expand Down

0 comments on commit 96f92ab

Please sign in to comment.