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 {
2
2
plugins : [ 'prettier-plugin-svelte' , 'prettier-plugin-astro' ]
3
3
}
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import { TSServiceManager } from "./ts";
4
4
import * as tsEslintParser from "@typescript-eslint/parser" ;
5
5
import { getProjectConfigFiles } from "./utils/get-project-config-files" ;
6
6
import { 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" ;
9
8
10
9
const DEFAULT_EXTRA_FILE_EXTENSIONS = [ ".vue" , ".svelte" , ".astro" ] ;
11
10
const 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({
4
4
entry : [ "src/index.ts" ] ,
5
5
format : [ "cjs" , "esm" ] ,
6
6
target : [ "node16" ] ,
7
- external : [ / p a c k a g e .j s o n / ] ,
8
7
outDir : "lib" ,
9
8
skipNodeModulesBundle : true ,
10
9
publint : { strict : true , pack : "npm" } ,
You can’t perform that action at this time.
0 commit comments