Skip to content

Commit

Permalink
chore(ci-runner): add workaround for typescript-eslint/typescript-esl…
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Sep 30, 2021
1 parent 0dbc5ed commit ad8afaa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ci/plugin-configs/typescript-eslint-eslint-plugin.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ module.exports = {

return {
...baseEslintrc,
rules: rulesWithoutTypeAware,
rules: {
...baseEslintrc.rules,
...rulesWithoutTypeAware,
},
};
},
};
Expand All @@ -57,6 +60,10 @@ const baseEslintrc = {
...baseConfig.eslintrc,
plugins: ['@typescript-eslint'],
extends: ['plugin:@typescript-eslint/all'],
rules: {
// https://github.com/typescript-eslint/typescript-eslint/issues/3933
'@typescript-eslint/no-restricted-imports': ['error', {}],
},
};

const rulesWithoutTypeAware = {
Expand Down

0 comments on commit ad8afaa

Please sign in to comment.