Skip to content
Closed

Lint #663

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a3797d9
execute methods
Philip-Carneiro Aug 21, 2025
18c9981
rerunquery
Philip-Carneiro Aug 21, 2025
0bece06
fix tests
Philip-Carneiro Aug 21, 2025
9ef3ec4
queryUtils tests
Philip-Carneiro Aug 21, 2025
b353805
servercommand tests
Philip-Carneiro Aug 21, 2025
14fd79f
connmngservice tests
Philip-Carneiro Aug 21, 2025
2f1ecd2
udas utils tests
Philip-Carneiro Aug 22, 2025
7cb03b4
datasource utils tests
Philip-Carneiro Aug 22, 2025
2c81e78
execution utils tests
Philip-Carneiro Aug 22, 2025
6e753b5
lint
Philip-Carneiro Aug 25, 2025
aa65c78
add more tests
Philip-Carneiro Aug 25, 2025
545b936
add more tests
Philip-Carneiro Aug 25, 2025
fcbee24
execution utils tests
Philip-Carneiro Aug 25, 2025
8760f5e
scratchpad req body tests
Philip-Carneiro Aug 25, 2025
9c271f4
servicegateway req body tests
Philip-Carneiro Aug 25, 2025
b1d9e13
lint
Philip-Carneiro Aug 25, 2025
5651d5f
add more tests
Philip-Carneiro Aug 26, 2025
bbc1a7c
fix covergae
Philip-Carneiro Aug 26, 2025
75475f0
remove package changes
Philip-Carneiro Aug 26, 2025
6683efa
fix tests
Philip-Carneiro Aug 26, 2025
3637aa9
improve the code
Philip-Carneiro Aug 27, 2025
a566049
fix sonar issues
Philip-Carneiro Aug 27, 2025
85b7aea
KXI-65663 execute code after offer reconnection
Philip-Carneiro Aug 28, 2025
2161ab7
fix code logic
Philip-Carneiro Aug 28, 2025
bb6cff1
add lint rule for standarize the variable declarations
Philip-Carneiro Aug 28, 2025
dde088f
Merge branch 'dev' into lint
Philip-Carneiro Aug 28, 2025
7148a84
fix lint
Philip-Carneiro Aug 28, 2025
bd5e404
fix issue founded with python in notebooks
Philip-Carneiro Sep 1, 2025
668891e
improve the code
Philip-Carneiro Sep 1, 2025
6b46e02
fix error msg
Philip-Carneiro Sep 1, 2025
d9322d0
fix dap
Philip-Carneiro Sep 10, 2025
5b8f8db
release v1.14
Philip-Carneiro Sep 10, 2025
7d74a4b
Merge branch 'dev' into v1.14.0-dev-to-main
Philip-Carneiro Sep 10, 2025
5cefed3
Merge pull request #670 from KxSystems/v1.14.0-dev-to-main
Philip-Carneiro-KX Sep 12, 2025
c3984e9
Merge branch 'main' into KXI-65355-2
Philip-Carneiro Sep 12, 2025
662e04c
fix high vulnerability
Philip-Carneiro Sep 12, 2025
116d338
Merge branch 'KXI-65355-2' into lint
Philip-Carneiro Sep 12, 2025
5798b8d
lint fix 1.14 changes
Philip-Carneiro Sep 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,39 @@ export default [
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"padding-line-between-statements": [
"error",
{
blankLine: "always",
prev: "const",
next: "*",
},
{
blankLine: "never",
prev: "const",
next: "const",
},
{
blankLine: "always",
prev: "let",
next: "*",
},
{
blankLine: "never",
prev: "let",
next: "let",
},
{
blankLine: "always",
prev: "var",
next: "*",
},
{
blankLine: "never",
prev: "var",
next: "var",
},
],
"license-header/header": [
"error",
[
Expand Down
32 changes: 27 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "kdb",
"description": "IDE support for kdb product suite including the q programming language",
"publisher": "KX",
"version": "1.14.0-rc",
"version": "1.15.0-rc",
"engines": {
"vscode": "^1.96.0"
},
Expand Down Expand Up @@ -1196,6 +1196,7 @@
"mocha-multi-reporters": "^1.5.1",
"mock-fs": "^5.5.0",
"prettier": "^3.6.0",
"rewire": "^9.0.1",
"rimraf": "^6.0.1",
"sinon": "^21.0.0",
"tree-kill": "^1.2.2",
Expand Down Expand Up @@ -1227,4 +1228,4 @@
"vscode-languageserver-textdocument": "^1.0.12",
"vscode-uri": "^3.1.0"
}
}
}
1 change: 1 addition & 0 deletions server/src/linter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface LinterDiagnostic {

export function lint(tokens: Token[]): LinterDiagnostic[] {
const diagnostics: LinterDiagnostic[] = [];

Rules.filter(
(rule) => rule.check && enabled.indexOf(rule.code) !== -1,
).forEach((rule) =>
Expand Down
Loading
Loading