Skip to content

Commit

Permalink
Merge pull request #292 from nextcloud/enh/import-extensions-rule
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv committed Feb 21, 2022
2 parents 42d58af + 6cbcfde commit 423cf3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -111,5 +111,9 @@ module.exports = {
}],
// require object literal shorthand syntax
'object-shorthand': ['error', 'always'],
// Warn when file extensions are not used on import paths
'import/extensions': ['warn', 'always', {
ignorePackages: true,
}],
},
}

0 comments on commit 423cf3a

Please sign in to comment.