Skip to content

Commit 30cfb4e

Browse files
authoredJan 16, 2023
fix(eslint-config-legacy): also check for nuxt-edge (#264)
1 parent 8a14311 commit 30cfb4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/eslint-config-legacy/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { getPackageInfoSync } = require('local-pkg')
22

3-
const nuxt = getPackageInfoSync('nuxt')
3+
const nuxt = getPackageInfoSync('nuxt') || getPackageInfoSync('nuxt-edge')
44
const isNuxt2 = nuxt && nuxt.version && nuxt.version.startsWith('2.')
55

66
module.exports = {

0 commit comments

Comments
 (0)
Please sign in to comment.