Skip to content

Commit ad8afaa

Browse files
authored
chore(ci-runner): add workaround for typescript-eslint/typescript-eslint#3933
1 parent 0dbc5ed commit ad8afaa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ci/plugin-configs/typescript-eslint-eslint-plugin.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ module.exports = {
3636

3737
return {
3838
...baseEslintrc,
39-
rules: rulesWithoutTypeAware,
39+
rules: {
40+
...baseEslintrc.rules,
41+
...rulesWithoutTypeAware,
42+
},
4043
};
4144
},
4245
};
@@ -57,6 +60,10 @@ const baseEslintrc = {
5760
...baseConfig.eslintrc,
5861
plugins: ['@typescript-eslint'],
5962
extends: ['plugin:@typescript-eslint/all'],
63+
rules: {
64+
// https://github.com/typescript-eslint/typescript-eslint/issues/3933
65+
'@typescript-eslint/no-restricted-imports': ['error', {}],
66+
},
6067
};
6168

6269
const rulesWithoutTypeAware = {

0 commit comments

Comments
 (0)