Skip to content

Commit a9a3f7d

Browse files
committed
fix: Fix ESLint config for CI — use import/no-unresolved ignore instead of local alias
Replace ../nextcloud-vue/src alias (only works locally) with import/no-unresolved ignore pattern for @conduction/nextcloud-vue.
1 parent f90fe11 commit a9a3f7d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

eslint.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ module.exports = defineConfig([
3434
settings: {
3535
'import/resolver': {
3636
alias: {
37-
map: [
38-
['@', './src'],
39-
['@conduction/nextcloud-vue', '../nextcloud-vue/src'],
40-
],
37+
map: [['@', './src']],
4138
extensions: ['.js', '.ts', '.vue', '.json'],
4239
},
4340
},
@@ -58,6 +55,7 @@ module.exports = defineConfig([
5855
'vue/first-attribute-linebreak': 'off',
5956
'@typescript-eslint/no-explicit-any': 'off',
6057
'n/no-missing-import': 'off',
58+
'import/no-unresolved': ['error', { ignore: ['^@conduction/nextcloud-vue'] }],
6159
},
6260
},
6361
])

0 commit comments

Comments
 (0)