Skip to content

Commit

Permalink
refactor: use require.resolve instead of a relative path
Browse files Browse the repository at this point in the history
I don't know if it makes any difference but the dependency relationship
looks clearer to me after the change.
  • Loading branch information
haoqunjiang committed Jun 10, 2022
1 parent 83d49e8 commit 9d2bc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recommended.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
extends: [
'./index.js',
require.resolve('./index'),
'plugin:@typescript-eslint/recommended'
],

Expand Down

0 comments on commit 9d2bc08

Please sign in to comment.