eslint-plugin-postgresql-security 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +9 -23
- package/src/constants.js +4 -0
- package/src/index.d.ts +17 -0
- package/src/index.js +75 -0
- package/src/oxlint.d.ts +17 -0
- package/src/oxlint.js +3 -0
- package/{dist/src → src}/rules/check-query-params/index.js +2 -13
- package/{dist/src → src}/rules/no-batch-insert-loop/index.js +1 -14
- package/{dist/src → src}/rules/no-floating-query/index.js +1 -16
- package/{dist/src → src}/rules/no-hardcoded-credentials/index.js +1 -10
- package/{dist/src → src}/rules/no-insecure-ssl/index.js +0 -6
- package/{dist/src → src}/rules/no-missing-client-release/index.js +0 -17
- package/{dist/src → src}/rules/no-select-all/index.js +0 -13
- package/{dist/src → src}/rules/no-transaction-on-pool/index.js +0 -12
- package/{dist/src → src}/rules/no-unsafe-copy-from/index.js +2 -28
- package/{dist/src → src}/rules/no-unsafe-query/index.js +0 -26
- package/{dist/src → src}/rules/no-unsafe-search-path/index.js +0 -43
- package/{dist/src → src}/rules/prefer-pool-query/index.js +3 -20
- package/{dist/src → src}/rules/prevent-double-release/index.js +0 -75
- package/src/types/index.js +2 -0
- package/CHANGELOG.md +0 -150
- package/dist/AGENTS.md +0 -118
- package/dist/CHANGELOG.md +0 -150
- package/dist/LICENSE +0 -23
- package/dist/README.md +0 -169
- package/dist/package.json +0 -99
- package/dist/src/constants.d.ts +0 -6
- package/dist/src/constants.js +0 -13
- package/dist/src/index.d.ts +0 -26
- package/dist/src/index.js +0 -116
- package/dist/src/oxlint.d.ts +0 -20
- package/dist/src/oxlint.js +0 -21
- package/dist/src/rules/check-query-params/index.d.ts +0 -8
- package/dist/src/rules/no-batch-insert-loop/index.d.ts +0 -8
- package/dist/src/rules/no-floating-query/index.d.ts +0 -8
- package/dist/src/rules/no-hardcoded-credentials/index.d.ts +0 -8
- package/dist/src/rules/no-insecure-ssl/index.d.ts +0 -8
- package/dist/src/rules/no-missing-client-release/index.d.ts +0 -8
- package/dist/src/rules/no-select-all/index.d.ts +0 -8
- package/dist/src/rules/no-transaction-on-pool/index.d.ts +0 -8
- package/dist/src/rules/no-unsafe-copy-from/index.d.ts +0 -10
- package/dist/src/rules/no-unsafe-query/index.d.ts +0 -8
- package/dist/src/rules/no-unsafe-search-path/index.d.ts +0 -8
- package/dist/src/rules/prefer-pool-query/index.d.ts +0 -8
- package/dist/src/rules/prevent-double-release/index.d.ts +0 -8
- package/dist/src/types/index.js +0 -7
- package/src/__compatibility__/pg-interface.spec.ts +0 -495
- package/src/constants.ts +0 -11
- package/src/index.spec.ts +0 -14
- package/src/index.test.ts +0 -59
- package/src/index.ts +0 -130
- package/src/oxlint.spec.ts +0 -70
- package/src/oxlint.ts +0 -23
- package/src/rules/check-query-params/check-query-params.test.ts +0 -68
- package/src/rules/check-query-params/index.spec.ts +0 -117
- package/src/rules/check-query-params/index.ts +0 -106
- package/src/rules/no-batch-insert-loop/index.spec.ts +0 -105
- package/src/rules/no-batch-insert-loop/index.ts +0 -105
- package/src/rules/no-batch-insert-loop/no-batch-insert-loop.test.ts +0 -68
- package/src/rules/no-floating-query/index.spec.ts +0 -112
- package/src/rules/no-floating-query/index.ts +0 -81
- package/src/rules/no-floating-query/no-floating-query.test.ts +0 -68
- package/src/rules/no-hardcoded-credentials/index.spec.ts +0 -38
- package/src/rules/no-hardcoded-credentials/index.ts +0 -93
- package/src/rules/no-hardcoded-credentials/no-hardcoded-credentials.test.ts +0 -68
- package/src/rules/no-insecure-ssl/index.spec.ts +0 -40
- package/src/rules/no-insecure-ssl/index.ts +0 -81
- package/src/rules/no-insecure-ssl/no-insecure-ssl.test.ts +0 -68
- package/src/rules/no-missing-client-release/coverage-gaps.spec.ts +0 -42
- package/src/rules/no-missing-client-release/index.spec.ts +0 -52
- package/src/rules/no-missing-client-release/index.ts +0 -100
- package/src/rules/no-missing-client-release/no-missing-client-release.test.ts +0 -68
- package/src/rules/no-select-all/index.spec.ts +0 -44
- package/src/rules/no-select-all/index.ts +0 -92
- package/src/rules/no-select-all/no-select-all.test.ts +0 -68
- package/src/rules/no-transaction-on-pool/index.spec.ts +0 -36
- package/src/rules/no-transaction-on-pool/index.ts +0 -85
- package/src/rules/no-transaction-on-pool/no-transaction-on-pool.test.ts +0 -68
- package/src/rules/no-unsafe-copy-from/coverage-gaps.spec.ts +0 -76
- package/src/rules/no-unsafe-copy-from/index.spec.ts +0 -274
- package/src/rules/no-unsafe-copy-from/index.ts +0 -226
- package/src/rules/no-unsafe-copy-from/no-unsafe-copy-from.test.ts +0 -78
- package/src/rules/no-unsafe-query/coverage-gaps.spec.ts +0 -61
- package/src/rules/no-unsafe-query/index.spec.ts +0 -103
- package/src/rules/no-unsafe-query/index.ts +0 -149
- package/src/rules/no-unsafe-query/no-unsafe-query.test.ts +0 -73
- package/src/rules/no-unsafe-search-path/index.spec.ts +0 -46
- package/src/rules/no-unsafe-search-path/index.ts +0 -164
- package/src/rules/no-unsafe-search-path/no-unsafe-search-path.test.ts +0 -68
- package/src/rules/prefer-pool-query/coverage-gaps.spec.ts +0 -76
- package/src/rules/prefer-pool-query/index.spec.ts +0 -97
- package/src/rules/prefer-pool-query/index.ts +0 -118
- package/src/rules/prefer-pool-query/prefer-pool-query.test.ts +0 -68
- package/src/rules/prevent-double-release/coverage-gaps.spec.ts +0 -538
- package/src/rules/prevent-double-release/index.spec.ts +0 -824
- package/src/rules/prevent-double-release/index.ts +0 -534
- package/src/rules/prevent-double-release/prevent-double-release.test.ts +0 -70
- package/src/types/index.ts +0 -58
- /package/{dist/src → src}/types/index.d.ts +0 -0
package/dist/package.json
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "eslint-plugin-postgresql-security",
|
|
3
|
-
"version": "1.5.0",
|
|
4
|
-
"description": "ESLint plugin for the pg PostgreSQL driver — detects SQL injection, unreleased clients, floating queries, unsafe search_path, and insecure SSL.",
|
|
5
|
-
"type": "commonjs",
|
|
6
|
-
"main": "./src/index.js",
|
|
7
|
-
"types": "./src/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./src/index.d.ts",
|
|
11
|
-
"default": "./src/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./oxlint": {
|
|
14
|
-
"types": "./src/oxlint.d.ts",
|
|
15
|
-
"default": "./src/oxlint.js"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"author": "Ofri Peretz <ofriperetzdev@gmail.com>",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"homepage": "https://eslint.interlace.tools/docs/security/plugin-postgresql-security?utm_source=npm&utm_medium=referral&utm_campaign=eslint-plugin-postgresql-security",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "https://github.com/ofri-peretz/eslint",
|
|
24
|
-
"directory": "packages/eslint-plugin-postgresql-security"
|
|
25
|
-
},
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/ofri-peretz/eslint/issues"
|
|
28
|
-
},
|
|
29
|
-
"publishConfig": {
|
|
30
|
-
"access": "public"
|
|
31
|
-
},
|
|
32
|
-
"files": [
|
|
33
|
-
"src/",
|
|
34
|
-
"dist/",
|
|
35
|
-
"README.md",
|
|
36
|
-
"LICENSE",
|
|
37
|
-
"CHANGELOG.md"
|
|
38
|
-
],
|
|
39
|
-
"keywords": [
|
|
40
|
-
"eslint",
|
|
41
|
-
"eslintplugin",
|
|
42
|
-
"eslint-plugin",
|
|
43
|
-
"static-analysis",
|
|
44
|
-
"linting",
|
|
45
|
-
"code-quality",
|
|
46
|
-
"security",
|
|
47
|
-
"sast",
|
|
48
|
-
"appsec",
|
|
49
|
-
"vulnerability",
|
|
50
|
-
"owasp",
|
|
51
|
-
"cwe",
|
|
52
|
-
"interlace-security",
|
|
53
|
-
"pg",
|
|
54
|
-
"postgres",
|
|
55
|
-
"postgresql",
|
|
56
|
-
"node-postgres",
|
|
57
|
-
"sql",
|
|
58
|
-
"sql-injection",
|
|
59
|
-
"cwe-89",
|
|
60
|
-
"database",
|
|
61
|
-
"database-security",
|
|
62
|
-
"connection-pool",
|
|
63
|
-
"best-practices",
|
|
64
|
-
"llm-optimized",
|
|
65
|
-
"ai-assistant",
|
|
66
|
-
"typescript"
|
|
67
|
-
],
|
|
68
|
-
"engines": {
|
|
69
|
-
"node": ">=18.0.0"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"eslint": "^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
73
|
-
"pg": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
74
|
-
},
|
|
75
|
-
"peerDependenciesMeta": {
|
|
76
|
-
"pg": {
|
|
77
|
-
"optional": true
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"dependencies": {
|
|
81
|
-
"tslib": "^2.3.0",
|
|
82
|
-
"@interlace/eslint-devkit": "^1.4.3"
|
|
83
|
-
},
|
|
84
|
-
"devDependencies": {
|
|
85
|
-
"@typescript-eslint/parser": "^8.46.2",
|
|
86
|
-
"@typescript-eslint/rule-tester": "^8.46.2",
|
|
87
|
-
"pg": "^8.22.0"
|
|
88
|
-
},
|
|
89
|
-
"scripts": {
|
|
90
|
-
"build": "tsx ../../scripts/build-package.ts",
|
|
91
|
-
"test": "vitest run",
|
|
92
|
-
"test:coverage": "vitest run --coverage",
|
|
93
|
-
"typecheck": "tsc -p tsconfig.lib.json --noEmit"
|
|
94
|
-
},
|
|
95
|
-
"funding": {
|
|
96
|
-
"type": "github",
|
|
97
|
-
"url": "https://github.com/ofri-peretz/eslint"
|
|
98
|
-
}
|
|
99
|
-
}
|
package/dist/src/constants.d.ts
DELETED
package/dist/src/constants.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
4
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
5
|
-
* MIT license that can be found in the LICENSE file.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.PG_PROTOCOLS = void 0;
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
* Connection string protocols for PostgreSQL
|
|
12
|
-
*/
|
|
13
|
-
exports.PG_PROTOCOLS = ['postgres://', 'postgresql://'];
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* eslint-plugin-postgresql-security
|
|
8
|
-
*
|
|
9
|
-
* ESLint plugin with security and best practices rules for the pg Node.js driver.
|
|
10
|
-
*
|
|
11
|
-
* @see https://github.com/ofri-peretz/eslint/tree/main/packages/eslint-plugin-postgresql-security
|
|
12
|
-
*/
|
|
13
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
14
|
-
/**
|
|
15
|
-
* Collection of all rules
|
|
16
|
-
*/
|
|
17
|
-
export declare const rules: Record<string, TSESLint.RuleModule<string, readonly unknown[]>>;
|
|
18
|
-
/**
|
|
19
|
-
* ESLint Plugin object
|
|
20
|
-
*/
|
|
21
|
-
export declare const plugin: TSESLint.FlatConfig.Plugin;
|
|
22
|
-
/**
|
|
23
|
-
* Preset configurations
|
|
24
|
-
*/
|
|
25
|
-
export declare const configs: Record<string, TSESLint.FlatConfig.Config>;
|
|
26
|
-
export default plugin;
|
package/dist/src/index.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
4
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
5
|
-
* MIT license that can be found in the LICENSE file.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.configs = exports.plugin = exports.rules = void 0;
|
|
9
|
-
const no_unsafe_query_1 = require("./rules/no-unsafe-query");
|
|
10
|
-
const no_insecure_ssl_1 = require("./rules/no-insecure-ssl");
|
|
11
|
-
const no_hardcoded_credentials_1 = require("./rules/no-hardcoded-credentials");
|
|
12
|
-
const check_query_params_1 = require("./rules/check-query-params");
|
|
13
|
-
const no_missing_client_release_1 = require("./rules/no-missing-client-release");
|
|
14
|
-
const no_transaction_on_pool_1 = require("./rules/no-transaction-on-pool");
|
|
15
|
-
const no_floating_query_1 = require("./rules/no-floating-query");
|
|
16
|
-
const no_select_all_1 = require("./rules/no-select-all");
|
|
17
|
-
const prefer_pool_query_1 = require("./rules/prefer-pool-query");
|
|
18
|
-
const no_batch_insert_loop_1 = require("./rules/no-batch-insert-loop");
|
|
19
|
-
const no_unsafe_search_path_1 = require("./rules/no-unsafe-search-path");
|
|
20
|
-
const no_unsafe_copy_from_1 = require("./rules/no-unsafe-copy-from");
|
|
21
|
-
const prevent_double_release_1 = require("./rules/prevent-double-release");
|
|
22
|
-
/**
|
|
23
|
-
* Collection of all rules
|
|
24
|
-
*/
|
|
25
|
-
exports.rules = {
|
|
26
|
-
'no-unsafe-query': no_unsafe_query_1.noUnsafeQuery,
|
|
27
|
-
'no-insecure-ssl': no_insecure_ssl_1.noInsecureSsl,
|
|
28
|
-
'no-hardcoded-credentials': no_hardcoded_credentials_1.noHardcodedCredentials,
|
|
29
|
-
'check-query-params': check_query_params_1.checkQueryParams,
|
|
30
|
-
'no-missing-client-release': no_missing_client_release_1.noMissingClientRelease,
|
|
31
|
-
'no-transaction-on-pool': no_transaction_on_pool_1.noTransactionOnPool,
|
|
32
|
-
'no-floating-query': no_floating_query_1.noFloatingQuery,
|
|
33
|
-
'no-select-all': no_select_all_1.noSelectAll,
|
|
34
|
-
'prefer-pool-query': prefer_pool_query_1.preferPoolQuery,
|
|
35
|
-
'no-batch-insert-loop': no_batch_insert_loop_1.noBatchInsertLoop,
|
|
36
|
-
'no-unsafe-search-path': no_unsafe_search_path_1.noUnsafeSearchPath,
|
|
37
|
-
'no-unsafe-copy-from': no_unsafe_copy_from_1.noUnsafeCopyFrom,
|
|
38
|
-
'prevent-double-release': prevent_double_release_1.preventDoubleRelease,
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* ESLint Plugin object
|
|
42
|
-
*/
|
|
43
|
-
exports.plugin = {
|
|
44
|
-
meta: {
|
|
45
|
-
name: 'eslint-plugin-postgresql-security',
|
|
46
|
-
version: '1.4.9',
|
|
47
|
-
},
|
|
48
|
-
rules: exports.rules,
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Preset configurations
|
|
52
|
-
*/
|
|
53
|
-
exports.configs = {
|
|
54
|
-
/**
|
|
55
|
-
* Flagship preset — exactly the rule(s) from this plugin that appear in
|
|
56
|
-
* the ecosystem-wide flagship list (`.agent/flagship-rules.md`). Use this
|
|
57
|
-
* when you want the highest-signal subset shippable in CI gates without
|
|
58
|
-
* the noise of `recommended`.
|
|
59
|
-
*/
|
|
60
|
-
flagship: {
|
|
61
|
-
plugins: { 'pg': exports.plugin },
|
|
62
|
-
rules: {
|
|
63
|
-
'pg/no-unsafe-query': 'error',
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
/**
|
|
67
|
-
* Recommended preset - balanced security for most projects
|
|
68
|
-
*/
|
|
69
|
-
recommended: {
|
|
70
|
-
plugins: {
|
|
71
|
-
'pg': exports.plugin,
|
|
72
|
-
},
|
|
73
|
-
rules: {
|
|
74
|
-
// Security rules (errors)
|
|
75
|
-
'pg/no-unsafe-query': 'error',
|
|
76
|
-
'pg/no-insecure-ssl': 'error',
|
|
77
|
-
'pg/no-hardcoded-credentials': 'error',
|
|
78
|
-
'pg/no-unsafe-search-path': 'error',
|
|
79
|
-
'pg/no-unsafe-copy-from': 'error',
|
|
80
|
-
'pg/no-transaction-on-pool': 'error',
|
|
81
|
-
// Resource management (errors)
|
|
82
|
-
'pg/no-missing-client-release': 'error',
|
|
83
|
-
'pg/prevent-double-release': 'error',
|
|
84
|
-
'pg/no-floating-query': 'error',
|
|
85
|
-
// Quality (warnings)
|
|
86
|
-
'pg/check-query-params': 'warn',
|
|
87
|
-
'pg/no-select-all': 'warn',
|
|
88
|
-
'pg/prefer-pool-query': 'warn',
|
|
89
|
-
'pg/no-batch-insert-loop': 'warn',
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* Strict preset - all rules as errors
|
|
94
|
-
*/
|
|
95
|
-
strict: {
|
|
96
|
-
plugins: {
|
|
97
|
-
'pg': exports.plugin,
|
|
98
|
-
},
|
|
99
|
-
rules: {
|
|
100
|
-
'pg/no-unsafe-query': 'error',
|
|
101
|
-
'pg/no-insecure-ssl': 'error',
|
|
102
|
-
'pg/no-hardcoded-credentials': 'error',
|
|
103
|
-
'pg/no-unsafe-search-path': 'error',
|
|
104
|
-
'pg/no-unsafe-copy-from': 'error',
|
|
105
|
-
'pg/no-transaction-on-pool': 'error',
|
|
106
|
-
'pg/no-missing-client-release': 'error',
|
|
107
|
-
'pg/prevent-double-release': 'error',
|
|
108
|
-
'pg/no-floating-query': 'error',
|
|
109
|
-
'pg/check-query-params': 'error',
|
|
110
|
-
'pg/no-select-all': 'error',
|
|
111
|
-
'pg/prefer-pool-query': 'error',
|
|
112
|
-
'pg/no-batch-insert-loop': 'error',
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
};
|
|
116
|
-
exports.default = exports.plugin;
|
package/dist/src/oxlint.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* oxlint sub-export.
|
|
8
|
-
*
|
|
9
|
-
* Consumers wire oxlint to this entry via:
|
|
10
|
-
* { "jsPlugins": ["eslint-plugin-postgresql-security/oxlint"] }
|
|
11
|
-
*
|
|
12
|
-
* oxlint's JS plugin loader does `require('eslint-plugin-postgresql-security/oxlint')` and reads
|
|
13
|
-
* `.rules` off the result. The compiled output of `export = plugin` is
|
|
14
|
-
* `module.exports = plugin`, which gives oxlint the plugin object directly
|
|
15
|
-
* (`{ meta, rules }`) — no wrapper, no `.default` indirection.
|
|
16
|
-
*
|
|
17
|
-
* Generated by scripts/generate-oxlint-shims.mjs. Do not edit by hand.
|
|
18
|
-
*/
|
|
19
|
-
import { plugin } from './index';
|
|
20
|
-
export = plugin;
|
package/dist/src/oxlint.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
4
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
5
|
-
* MIT license that can be found in the LICENSE file.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* oxlint sub-export.
|
|
9
|
-
*
|
|
10
|
-
* Consumers wire oxlint to this entry via:
|
|
11
|
-
* { "jsPlugins": ["eslint-plugin-postgresql-security/oxlint"] }
|
|
12
|
-
*
|
|
13
|
-
* oxlint's JS plugin loader does `require('eslint-plugin-postgresql-security/oxlint')` and reads
|
|
14
|
-
* `.rules` off the result. The compiled output of `export = plugin` is
|
|
15
|
-
* `module.exports = plugin`, which gives oxlint the plugin object directly
|
|
16
|
-
* (`{ meta, rules }`) — no wrapper, no `.default` indirection.
|
|
17
|
-
*
|
|
18
|
-
* Generated by scripts/generate-oxlint-shims.mjs. Do not edit by hand.
|
|
19
|
-
*/
|
|
20
|
-
const index_1 = require("./index");
|
|
21
|
-
module.exports = index_1.plugin;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { CheckQueryParamsOptions } from '../../types';
|
|
8
|
-
export declare const checkQueryParams: TSESLint.RuleModule<'parameterCountMismatch', CheckQueryParamsOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoBatchInsertLoopOptions } from '../../types';
|
|
8
|
-
export declare const noBatchInsertLoop: TSESLint.RuleModule<'noBatchInsertLoop', NoBatchInsertLoopOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoFloatingQueryOptions } from '../../types';
|
|
8
|
-
export declare const noFloatingQuery: TSESLint.RuleModule<'noFloatingQuery', NoFloatingQueryOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoHardcodedCredentialsOptions } from '../../types';
|
|
8
|
-
export declare const noHardcodedCredentials: TSESLint.RuleModule<'noHardcodedCredentials', NoHardcodedCredentialsOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoInsecureSslOptions } from '../../types';
|
|
8
|
-
export declare const noInsecureSsl: TSESLint.RuleModule<'noInsecureSsl', NoInsecureSslOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoMissingClientReleaseOptions } from '../../types';
|
|
8
|
-
export declare const noMissingClientRelease: TSESLint.RuleModule<'missingClientRelease', NoMissingClientReleaseOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoSelectAllOptions } from '../../types';
|
|
8
|
-
export declare const noSelectAll: TSESLint.RuleModule<'noSelectAll', NoSelectAllOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoTransactionOnPoolOptions } from '../../types';
|
|
8
|
-
export declare const noTransactionOnPool: TSESLint.RuleModule<'noTransactionOnPool', NoTransactionOnPoolOptions>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoUnsafeCopyFromOptions } from '../../types';
|
|
8
|
-
type MessageIds = 'dynamicPath' | 'hardcodedPath' | 'unverifiablePath';
|
|
9
|
-
export declare const noUnsafeCopyFrom: TSESLint.RuleModule<MessageIds, NoUnsafeCopyFromOptions>;
|
|
10
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoUnsafeQueryOptions } from '../../types';
|
|
8
|
-
export declare const noUnsafeQuery: TSESLint.RuleModule<'noUnsafeQuery' | 'unsafeTemplateLiteral', NoUnsafeQueryOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { NoUnsafeSearchPathOptions } from '../../types';
|
|
8
|
-
export declare const noUnsafeSearchPath: TSESLint.RuleModule<'noUnsafeSearchPath', NoUnsafeSearchPathOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { PreferPoolQueryOptions } from '../../types';
|
|
8
|
-
export declare const preferPoolQuery: TSESLint.RuleModule<'preferPoolQuery', PreferPoolQueryOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Ofri Peretz
|
|
3
|
-
* Licensed under the MIT License. Use of this source code is governed by the
|
|
4
|
-
* MIT license that can be found in the LICENSE file.
|
|
5
|
-
*/
|
|
6
|
-
import { TSESLint } from '@interlace/eslint-devkit';
|
|
7
|
-
import { PreventDoubleReleaseOptions } from '../../types';
|
|
8
|
-
export declare const preventDoubleRelease: TSESLint.RuleModule<'doubleRelease' | 'doubleReleaseCallback', PreventDoubleReleaseOptions>;
|
package/dist/src/types/index.js
DELETED