Skip to content

Commit

Permalink
Throw error when commaPosition or tabulateAlias option used
Browse files Browse the repository at this point in the history
  • Loading branch information
nene committed Nov 13, 2023
1 parent d520a78 commit 19f5884
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ <h3 style="margin: 0.5rem 0">Options</h3>
<option value="after">after</option>
</select>
</article>
<article class="config">
<label for="commaPosition">Comma position:</label>
<select id="commaPosition">
<option value="after">After</option>
<option value="before">Before</option>
<option value="tabular">Tabular</option>
</select>
</article>
<article class="config">
<label for="expressionWidth">Expression width:</label>
<input
Expand Down
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const attachFormat = () => {
const keywordCase = document.getElementById('keywordCase');
const indentStyle = document.getElementById('indentStyle');
const logicalOperatorNewline = document.getElementById('logicalOperatorNewline');
const commaPosition = document.getElementById('commaPosition');
const expressionWidth = document.getElementById('expressionWidth');
const lineBetweenQueries = document.getElementById('lineBetweenQueries');
const denseOperators = document.getElementById('denseOperators');
Expand Down Expand Up @@ -37,7 +36,6 @@ const attachFormat = () => {
indentStyle: indentStyle.options[indentStyle.selectedIndex].value,
logicalOperatorNewline:
logicalOperatorNewline.options[logicalOperatorNewline.selectedIndex].value,
commaPosition: commaPosition.options[commaPosition.selectedIndex].value,
expressionWidth: expressionWidth.value,
lineBetweenQueries: lineBetweenQueries.value,
denseOperators: denseOperators.checked,
Expand Down Expand Up @@ -72,7 +70,6 @@ const attachFormat = () => {
keywordCase,
indentStyle,
logicalOperatorNewline,
commaPosition,
expressionWidth,
lineBetweenQueries,
denseOperators,
Expand Down

0 comments on commit 19f5884

Please sign in to comment.