We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8247e33 commit 49dab88Copy full SHA for 49dab88
packages/eslint-config-airbnb-base/rules/imports.js
@@ -224,8 +224,7 @@ module.exports = {
224
225
// Forbid a module from importing itself
226
// https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-self-import.md
227
- // TODO: enable
228
- 'import/no-self-import': 'off',
+ 'import/no-self-import': 'error',
229
230
// Ensures that there are no useless path segments
231
// https://github.com/benmosher/eslint-plugin-import/issues/1032
0 commit comments