We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nuxt-edge
1 parent 8a14311 commit 30cfb4eCopy full SHA for 30cfb4e
packages/eslint-config-legacy/index.js
@@ -1,6 +1,6 @@
1
const { getPackageInfoSync } = require('local-pkg')
2
3
-const nuxt = getPackageInfoSync('nuxt')
+const nuxt = getPackageInfoSync('nuxt') || getPackageInfoSync('nuxt-edge')
4
const isNuxt2 = nuxt && nuxt.version && nuxt.version.startsWith('2.')
5
6
module.exports = {
0 commit comments