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

Commit

Permalink
fix(config): Require file direclty
Browse files Browse the repository at this point in the history
instead of only resolving the path.
  • Loading branch information
weiland committed Aug 29, 2020
1 parent d7bfede commit c25d13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
configs: {
recommended: require.resolve('./configs/recommended.js'),
recommended: require('./configs/recommended.js'), // eslint-disable-line global-require
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-swr",
"version": "0.0.3",
"version": "0.0.4",
"main": "index.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit c25d13d

Please sign in to comment.