Skip to content

Commit 963aa6e

Browse files
v3.2.1
1 parent b747a97 commit 963aa6e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the "sqlfluff" extension will be documented in this file.
44

5+
## [3.2.1] - 2024-09-18
6+
7+
- Silence notification when file/path is in `.sqlfluffignore`. [Issue](https://github.com/sqlfluff/vscode-sqlfluff/issues/155)
8+
59
## [3.2.0] - 2024-08-20
610

711
- Update to rule permalinks. Thanks to alanmcruickshank's [Pull Request](https://github.com/sqlfluff/vscode-sqlfluff/pull/152)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vscode-sqlfluff",
33
"displayName": "sqlfluff",
4-
"version": "3.2.0",
4+
"version": "3.2.1",
55
"description": "A linter and auto-formatter for SQLfluff, a popular linting tool for SQL and dbt.",
66
"publisher": "dorzey",
77
"icon": "images/icon.png",

src/features/providers/sqlfluff.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ export default class SQLFluff {
310310

311311
if (stderrLines?.length > 0 && !Configuration.suppressNotifications()) {
312312
const stderrString = stderrLines.join("\n");
313-
if (!stderrString.includes("ignored by a .sqlfluffignore pattern")) {
313+
if (
314+
!stderrString.includes("ignored by a .sqlfluffignore pattern") &&
315+
!stderrString.includes("ignored by an ignore pattern set in .sqlfluffignore")
316+
) {
314317
vscode.window.showErrorMessage(stderrString);
315318
}
316319
}

0 commit comments

Comments
 (0)