Skip to content

Commit eef6572

Browse files
authored
fix: do not strip the last line
2 parents a312e95 + 00ef30f commit eef6572

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

package-lock.json

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"dependencies": {
88
"astring": "^1.8.3",
99
"debug": "^4.3.4",
10+
"dedent": "^1.5.1",
1011
"lodash": "^4.17.21",
1112
"pg-formatter": "^2.0.2",
12-
"sql-parse": "^0.1.5",
13-
"strip-indent": "^3.0.0"
13+
"sql-parse": "^0.1.5"
1414
},
1515
"description": "SQL linting rules for ESLint.",
1616
"devDependencies": {

test/rules/assertions/format.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default {
120120
],
121121
},
122122
{
123-
code: " const code = sql`\n SELECT\n ${'foo'}\n FROM\n ${'bar'}\n`",
123+
code: " const code = sql`\n SELECT\n ${'foo'}\n FROM\n ${'bar'}\n `",
124124
options: [
125125
{
126126
ignoreBaseIndent: true,

0 commit comments

Comments
 (0)