Skip to content

Commit 5f8f687

Browse files
committed
chore: Name the default export 'pluginXML'
1 parent 4b51005 commit 5f8f687

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import languages from "./languages.js";
22
import parser from "./parser.js";
33
import printer from "./printer.js";
44

5-
const plugin = {
5+
const pluginXML = {
66
languages,
77
parsers: {
88
xml: parser
@@ -77,4 +77,4 @@ const plugin = {
7777
}
7878
};
7979

80-
export default plugin;
80+
export default pluginXML;

types/plugin.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import type { Plugin } from "prettier";
22

3-
declare const plugin: Plugin;
4-
export default plugin;
3+
declare const pluginXML: Plugin;
4+
export default pluginXML;

0 commit comments

Comments
 (0)