File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- module . exports = {
1+ export default {
22 plugins : [ 'prettier-plugin-svelte' , 'prettier-plugin-astro' ]
33}
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import { TSServiceManager } from "./ts";
44import * as tsEslintParser from "@typescript-eslint/parser" ;
55import { getProjectConfigFiles } from "./utils/get-project-config-files" ;
66import { resolveProjectList } from "./utils/resolve-project-list" ;
7- export * as meta from "./meta" ;
8- export { name } from "./meta" ;
7+ export { default as meta , name } from "./meta" ;
98
109const DEFAULT_EXTRA_FILE_EXTENSIONS = [ ".vue" , ".svelte" , ".astro" ] ;
1110const tsServiceManager = new TSServiceManager ( ) ;
Original file line number Diff line number Diff line change 1- export { name , version } from "../package.json" ;
1+ import { name as pkgName , version } from "../package.json" ;
2+ import { TSESLint } from "@typescript-eslint/utils" ;
3+
4+ const meta : TSESLint . FlatConfig . PluginMeta = { name : pkgName , version } ;
5+
6+ export default meta ;
7+
8+ export const name : string = pkgName ;
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ export default defineConfig({
44 entry : [ "src/index.ts" ] ,
55 format : [ "cjs" , "esm" ] ,
66 target : [ "node16" ] ,
7- external : [ / p a c k a g e .j s o n / ] ,
87 outDir : "lib" ,
98 skipNodeModulesBundle : true ,
109 publint : { strict : true , pack : "npm" } ,
You can’t perform that action at this time.
0 commit comments