File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 5252  "devDependencies" : {
5353    "@eslint-community/eslint-plugin-eslint-comments" : " ^4.4.0"  ,
5454    "@eslint/markdown" : " ^6.2.0"  ,
55+     "@stacksjs/path" : " ^0.65.0"  ,
5556    "@stylistic/eslint-plugin" : " ^2.9.0"  ,
56-     "@typescript-eslint/eslint-plugin" : " ^8.8.1"  ,
57-     "@typescript-eslint/parser" : " ^8.8.1"  ,
5857    "@types/bun" : " ^1.1.11"  ,
5958    "@types/node" : " ^22.7.5"  ,
59+     "@typescript-eslint/eslint-plugin" : " ^8.8.1"  ,
60+     "@typescript-eslint/parser" : " ^8.8.1"  ,
6061    "@vitest/eslint-plugin" : " ^1.1.7"  ,
6162    "bumpp" : " ^9.7.1"  ,
6263    "changelogen" : " ^0.5.7"  ,
63-     "unbuild" : " 2.0.0"  ,
6464    "eslint-config-flat-gitignore" : " ^0.3.0"  ,
6565    "eslint-flat-config-utils" : " ^0.4.0"  ,
6666    "eslint-merge-processors" : " ^0.1.0"  ,
8080    "eslint-plugin-yml" : " ^1.14.0"  ,
8181    "eslint-processor-vue-blocks" : " ^0.1.2"  ,
8282    "eslint-vitest-rule-tester" : " ^0.6.1"  ,
83+     "unbuild" : " 2.0.0"  ,
8384    "vitest" : " ^2.1.2"  ,
8485    "vue-eslint-parser" : " ^9.4.3" 
8586  }
Original file line number Diff line number Diff line change 11import  type  {  BlocklistMeta ,  UnoGenerator  }  from  '@unocss/core' 
2+ import  {  path  }  from  '@stacksjs/path' 
23import  process  from  'node:process' 
34import  {  loadConfig  }  from  '@unocss/config' 
45import  {  createGenerator  }  from  '@unocss/core' 
@@ -12,11 +13,11 @@ process.env.ESLINT ||= 'true'
1213
1314async  function  _getGenerator ( configPath ?: string )  { 
1415  const  {  config,  sources }  =  await  loadConfig ( 
15-     process . cwd ( ) , 
16+     path . uiPath ( ) , 
1617    configPath , 
1718  ) 
1819  if  ( ! sources . length ) 
19-     throw  new  Error ( '[@unocss /eslint-plugin] No config file found, create a `uno.config.ts` file in your project root and try again.' ) 
20+     throw  new  Error ( '[@stacksjs /eslint-plugin] No config file found, create a `uno.config.ts` file in your project root and try again.' ) 
2021  return  createGenerator ( { 
2122    ...config , 
2223    warn : false , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments