We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71a73c commit 2ae630dCopy full SHA for 2ae630d
eslint.config.js
@@ -146,4 +146,21 @@ export default tseslint.config(
146
'**/*.md',
147
],
148
},
149
+ {
150
+ files: ['packages/**/*.ts'],
151
+ rules: {
152
+ 'no-restricted-imports': [
153
+ 'error',
154
155
+ paths: [
156
157
+ name: '@nx/devkit',
158
+ importNames: ['logger'],
159
+ message: 'Please use logger from @code-pushup/utils instead.',
160
+ },
161
+ ],
162
163
164
165
166
);
packages/nx-plugin/eslint.config.js
@@ -34,6 +34,8 @@ module.exports = tseslint.config(
34
'warn',
35
{ styles: { 'node:path': { namespace: true } } },
36
37
+ // `import { logger } from '@nx/devkit' is OK here
38
+ 'no-restricted-imports': 'off',
39
40
41
{
0 commit comments