Commit 96201d6
authored
fix(tools): resolve airbnb-base eslint config from tools package location (#13575)
Using `"extends": "airbnb-base"` made ESLint look for the package in the consuming project's node_modules instead of the tools package. This forced external projects to add `eslint-config-airbnb-base` as their own dependency. Using `require.resolve` fixes this by loading it directly from the tools package.1 parent 9bc26b1 commit 96201d6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments