mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
chore(lint): enforce extensions in import
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
parent
e3f5f011c2
commit
03af917473
1 changed files with 3 additions and 0 deletions
|
|
@ -14,6 +14,9 @@ module.exports = {
|
|||
'comma-dangle': 'off',
|
||||
'jsdoc/no-defaults': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
// Forbid import without extension even when TS is used
|
||||
// TODO: fix in @nextcloud/eslint-config/typescript
|
||||
'import/extensions': 'error',
|
||||
'import/newline-after-import': 'warn',
|
||||
'import/no-named-as-default-member': 'off',
|
||||
'import/order': [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue