This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78d8e0e
commit a457213
Showing
37 changed files
with
129 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as csharp from 'prettier-plugin-csharp' | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatCsharp: Formatter = format => (text, options) => | ||
export const formatCsharp: Formatter = (format) => (text, options) => | ||
format(text, { ...options, plugins: [csharp] }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatCss: Formatter = format => (text, options) => | ||
export const formatCss: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as elm from 'prettier-plugin-elm' | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatElm: Formatter = format => (text, options) => | ||
export const formatElm: Formatter = (format) => (text, options) => | ||
format(text, { ...options, plugins: [elm] }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatFlow: Formatter = format => (text, options) => | ||
export const formatFlow: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatGraphql: Formatter = format => (text, options) => | ||
export const formatGraphql: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatHandlebars: Formatter = format => (text, options) => | ||
export const formatHandlebars: Formatter = (format) => (text, options) => | ||
// @ts-ignore | ||
format(text, { ...options, parser: 'glimmer' }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatHtml: Formatter = format => (text, options) => | ||
export const formatHtml: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as java from 'prettier-plugin-java' | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatJava: Formatter = format => (text, options) => | ||
export const formatJava: Formatter = (format) => (text, options) => | ||
format(text, { ...options, plugins: [java] }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatJavascript: Formatter = format => (text, options) => | ||
export const formatJavascript: Formatter = (format) => (text, options) => | ||
format(text, options) |
4 changes: 2 additions & 2 deletions
4
packages/service/src/plugins/javascriptreact/javascriptreact.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatJavascriptReact: Formatter = format => (text, options) => | ||
export const formatJavascriptReact: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatJson: Formatter = format => (text, options) => | ||
export const formatJson: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatJsonc: Formatter = format => (text, options) => | ||
export const formatJsonc: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatLess: Formatter = format => (text, options) => | ||
export const formatLess: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatMarkdown: Formatter = format => (text, options) => | ||
export const formatMarkdown: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatMdx: Formatter = format => (text, options) => | ||
export const formatMdx: Formatter = (format) => (text, options) => | ||
format(text, options) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import * as php from '@prettier/plugin-php' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatPhp: Formatter = (format) => (text, options) => | ||
format(text, { ...options, plugins: [php] }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatPostcss: Formatter = format => (text, options) => | ||
export const formatPostcss: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatScss: Formatter = format => (text, options) => | ||
export const formatScss: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as twig from 'prettier-plugin-twig-melody' | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatTwig: Formatter = format => (text, options) => | ||
export const formatTwig: Formatter = (format) => (text, options) => | ||
format(text, { ...options, plugins: [twig] }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatTypescript: Formatter = format => (text, options) => | ||
export const formatTypescript: Formatter = (format) => (text, options) => | ||
format(text, options) |
4 changes: 2 additions & 2 deletions
4
packages/service/src/plugins/typescriptreact/typescriptreact.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatTypescriptreact: Formatter = format => (text, options) => | ||
export const formatTypescriptreact: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatVue: Formatter = format => (text, options) => | ||
export const formatVue: Formatter = (format) => (text, options) => | ||
format(text, options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as xml from '@prettier/plugin-xml' | ||
import { Formatter } from '../pluginApi' | ||
import type { Formatter } from '../pluginApi' | ||
|
||
export const formatXml: Formatter = format => (text, options) => | ||
export const formatXml: Formatter = (format) => (text, options) => | ||
format(text, { ...options, plugins: [xml] }) |
Oops, something went wrong.