Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,9 @@ module.exports = {
}, {
enforceForRenamedProperties: false,
}],

// no default export is better, see https://gitlab.com/gitlab-org/frontend/rfcs/-/issues/20
"import/prefer-default-export": "off",
"import/no-default-export": "error"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这条规则可以先不加,会影响现有代码

},
};