Skip to content

Commit

Permalink
fix(eslint-config-legacy): also check for nuxt-edge (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
mercs600 committed Jan 16, 2023
1 parent 8a14311 commit 30cfb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-legacy/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { getPackageInfoSync } = require('local-pkg')

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

module.exports = {
Expand Down

0 comments on commit 30cfb4e

Please sign in to comment.