File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed
Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 11import tseslint from 'typescript-eslint' ;
22import baseConfig from '../../eslint.config.js' ;
33
4- export default tseslint . config (
5- ...baseConfig ,
6- {
7- files : [ '**/*.ts' ] ,
8- languageOptions : {
9- parserOptions : {
10- projectService : true ,
11- tsconfigRootDir : import . meta. dirname ,
12- } ,
4+ export default tseslint . config ( ...baseConfig , {
5+ files : [ '**/*.ts' ] ,
6+ languageOptions : {
7+ parserOptions : {
8+ projectService : true ,
9+ tsconfigRootDir : import . meta. dirname ,
1310 } ,
1411 } ,
15- ) ;
12+ } ) ;
Original file line number Diff line number Diff line change 1- import { dirname } from 'node:path' ;
1+ import path from 'node:path' ;
22
33export const createNodesV2 = [
44 `**/zod2md.config.ts` ,
@@ -8,7 +8,7 @@ export const createNodesV2 = [
88
99 return Promise . all (
1010 zod2MdConfigurationFiles . map ( async zod2MdConfigurationFile => {
11- const projectRoot = dirname ( zod2MdConfigurationFile ) ;
11+ const projectRoot = path . dirname ( zod2MdConfigurationFile ) ;
1212 const normalizedProjectRoot = projectRoot === '.' ? '' : projectRoot ;
1313 const result = {
1414 projects : {
You can’t perform that action at this time.
0 commit comments