diff --git a/packages/stack-vue/README.md b/packages/stack-vue/README.md index 10561c7..200b6b4 100644 --- a/packages/stack-vue/README.md +++ b/packages/stack-vue/README.md @@ -38,8 +38,8 @@ And add a `.eslintrc.js`: module.exports = { root: true, extends: [ - "@factorial/stack-javascript/eslint", - "@factorial/stack-vue/eslint/v3, + require.resolve("@factorial/stack-javascript/eslint"), + require.resolve("@factorial/stack-vue/eslint/v3"), ], }; ``` diff --git a/packages/stack-vue/__tests__/index.spec.js b/packages/stack-vue/__tests__/index.spec.js index 19438c3..aebe043 100644 --- a/packages/stack-vue/__tests__/index.spec.js +++ b/packages/stack-vue/__tests__/index.spec.js @@ -16,8 +16,8 @@ describe("vue/index", () => { content: `module.exports = { root: true, extends: [ - "@factorial/stack-javascript/eslint", - "@factorial/stack-vue/eslint/v3", + require.resolve("@factorial/stack-javascript/eslint"), + require.resolve("@factorial/stack-vue/eslint/v3"), ], }; `, diff --git a/packages/stack-vue/index.js b/packages/stack-vue/index.js index e2da996..d7dda49 100644 --- a/packages/stack-vue/index.js +++ b/packages/stack-vue/index.js @@ -11,8 +11,8 @@ module.exports = { content: `module.exports = { root: true, extends: [ - "@factorial/stack-javascript/eslint", - "@factorial/stack-vue/eslint/v3", + require.resolve("@factorial/stack-javascript/eslint"), + require.resolve("@factorial/stack-vue/eslint/v3"), ], }; `,