Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
fix(vue): Use require.resolve for shareable ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
mvsde authored and mgrsskls committed Feb 27, 2023
1 parent d346d2b commit 7ee06b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/stack-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
],
};
```
Expand Down
4 changes: 2 additions & 2 deletions packages/stack-vue/__tests__/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
],
};
`,
Expand Down
4 changes: 2 additions & 2 deletions packages/stack-vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
],
};
`,
Expand Down

0 comments on commit 7ee06b1

Please sign in to comment.