-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from zeroturnaround/sql-formatter-6
SQL Formatter 6
- Loading branch information
Showing
136 changed files
with
23,341 additions
and
15,138 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"presets": ["@babel/preset-env"], | ||
"presets": ["@babel/preset-env", "@babel/preset-typescript"], | ||
"plugins": ["@babel/plugin-proposal-class-properties", "add-module-exports"] | ||
} |
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
/lib | ||
/dist | ||
/coverage | ||
/vscode | ||
webpack.*.js |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: Formatting Bug Report | ||
about: Raise an issue about the FORMATTING output | ||
title: '[FORMATTING] Issue Title Here' | ||
labels: formatting | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Expected Output** | ||
Please provide a code snippet of the expected SQL output. | ||
|
||
**Actual Output** | ||
Please provide a code snippet of the SQL output produced by the tool. | ||
|
||
**Usage** | ||
|
||
- How are you calling / using the script? (Please provide a code snippet, if applicable) | ||
- What SQL language(s) does this apply to? | ||
- What Node version? (If applicable) | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,22 @@ | ||
--- | ||
name: Suggest Improvement/Feature | ||
about: Suggest new features or improvements to existing ones | ||
title: 'Feature Request: Title Here' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
**Describe the Feature** | ||
A clear and concise description of what the feature is. | ||
|
||
**Why do you want this feature?** | ||
Your reasoning behind suggesting this feature. | ||
|
||
**Info** | ||
|
||
- How would you be calling / using the script? | ||
- What SQL language(s) does this apply to? | ||
- What Node version? (If applicable) | ||
|
||
**Additional context** | ||
Add any other context about the feature here. |
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,33 @@ | ||
--- | ||
name: Script Bug Report | ||
about: Raise an issue with the SCRIPT that occurred during runtime | ||
title: '[SCRIPT] Issue Title Here' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Usage** | ||
|
||
- How are you calling / using the script? (Please provide a code snippet, if applicable) | ||
- What SQL language(s) does this apply to? | ||
- What Node version? (If applicable) | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,33 @@ | ||
--- | ||
name: VSCode Bug Report | ||
about: Raise an issue with the VSCODE Extension | ||
title: '[VSCODE] Issue Title Here' | ||
labels: vscode | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Usage** | ||
|
||
- What SQL language(s) does this apply to? (Plese check the bottom right of your editor for the current VSCode language type) | ||
- What VSCode version are you using? | ||
- What are your currently configured VSCode settings for the `prettier-sql` extension, if relevant to the issue? | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,32 @@ | ||
name: coveralls | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
run: yarn install --ignore-scripts | ||
|
||
- name: Test | ||
run: yarn test --coverage | ||
|
||
- name: Coveralls GitHub Action | ||
uses: coverallsapp/github-action@1.1.3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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,30 @@ | ||
name: webpack | ||
|
||
on: | ||
pull_request: | ||
branches: [master, develop] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
run: yarn install --ignore-scripts | ||
|
||
- name: Test | ||
run: yarn test | ||
|
||
- name: Build | ||
run: yarn build |
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 |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
/dist | ||
/lib | ||
/node_modules | ||
yarn.lock | ||
LICENSE |
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,11 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"arrowParens": "avoid", | ||
"semi": true, | ||
"bracketSpacing": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"endOfLine": "lf", | ||
"quoteProps": "consistent" | ||
} |
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,36 @@ | ||
{ | ||
"hooks": {}, | ||
"git": { | ||
"changelog": "git log --pretty=format:\"* %s (%h)\" ${latestTag}...HEAD", | ||
"requireCleanWorkingDir": true, | ||
"requireBranch": "master", | ||
"requireUpstream": true, | ||
"requireCommits": false, | ||
"addUntrackedFiles": false, | ||
"commit": true, | ||
"commitMessage": "Release v${version}", | ||
"tag": true, | ||
"tagAnnotation": "${version}", | ||
"push": true, | ||
"pushArgs": ["--follow-tags"] | ||
}, | ||
"npm": { | ||
"publish": true, | ||
"publishPath": ".", | ||
"publishArgs": [], | ||
"tag": null, | ||
"otp": null, | ||
"ignoreVersion": true, | ||
"skipChecks": false, | ||
"timeout": 10 | ||
}, | ||
"github": { | ||
"release": true, | ||
"releaseName": "${version}", | ||
"releaseNotes": "git log --pretty=format:\"* %s (%h)\" ${latestTag}...HEAD", | ||
"preRelease": false, | ||
"draft": false, | ||
"skipChecks": false, | ||
"web": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.