File tree Expand file tree Collapse file tree 4 files changed +5
-14
lines changed
Expand file tree Collapse file tree 4 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ module.exports = tseslint.config(
1717 rules : {
1818 // Nx plugins don't yet support ESM: https://github.com/nrwl/nx/issues/15682
1919 'unicorn/prefer-module' : 'off' ,
20+ 'n/file-extension-in-import' : 'off' ,
2021 // used instead of verbatimModuleSyntax tsconfig flag (requires ESM)
2122 '@typescript-eslint/consistent-type-imports' : [
2223 'warn' ,
Original file line number Diff line number Diff line change 1- import {
1+ import type {
22 CreateNodes ,
33 CreateNodesContext ,
4- CreateNodesContextV2 ,
54 CreateNodesResult ,
6- CreateNodesV2 ,
7- createNodesFromFiles ,
85} from '@nx/devkit' ;
9- import { dirname } from 'path' ;
10- import {
11- CODE_PUSHUP_CONFIG_REGEX ,
12- PROJECT_JSON_FILE_NAME ,
13- } from '../internal/constants' ;
6+ import { PROJECT_JSON_FILE_NAME } from '../internal/constants' ;
147import { createTargets } from './target/targets' ;
158import type { CreateNodesOptions } from './types' ;
16- import {
17- normalizedCreateNodesContext ,
18- normalizedCreateNodesV2Context ,
19- } from './utils' ;
9+ import { normalizedCreateNodesContext } from './utils' ;
2010
2111// name has to be "createNodes" to get picked up by Nx <v20
2212export const createNodes : CreateNodes = [
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type {
55} from '@nx/devkit' ;
66import type { WithRequired } from '@code-pushup/utils' ;
77import type { DynamicTargetOptions } from '../internal/types' ;
8- import { CreateTargetsOptions } from './target/targets' ;
8+ import type { CreateTargetsOptions } from './target/targets' ;
99
1010export type ProjectPrefixOptions = {
1111 projectPrefix ?: string ;
You can’t perform that action at this time.
0 commit comments