@isentinel/eslint-config 4.7.6 → 4.7.7
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/dist/index.d.mts +18 -2
- package/dist/index.mjs +3 -2
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -4077,7 +4077,7 @@ interface RuleOptions {
|
|
|
4077
4077
|
*/
|
|
4078
4078
|
'sonar/aws-iam-public-access'?: Linter.RuleEntry<[]>;
|
|
4079
4079
|
/**
|
|
4080
|
-
* Using unencrypted
|
|
4080
|
+
* Using unencrypted Opensearch domains is security-sensitive
|
|
4081
4081
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6308/javascript
|
|
4082
4082
|
*/
|
|
4083
4083
|
'sonar/aws-opensearchservice-domain'?: Linter.RuleEntry<[]>;
|
|
@@ -4296,6 +4296,11 @@ interface RuleOptions {
|
|
|
4296
4296
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5869/javascript
|
|
4297
4297
|
*/
|
|
4298
4298
|
'sonar/duplicates-in-character-class'?: Linter.RuleEntry<[]>;
|
|
4299
|
+
/**
|
|
4300
|
+
* Templates should not be constructed dynamically
|
|
4301
|
+
* @see https://sonarsource.github.io/rspec/#/rspec/S7790/javascript
|
|
4302
|
+
*/
|
|
4303
|
+
'sonar/dynamically-constructed-templates'?: Linter.RuleEntry<[]>;
|
|
4299
4304
|
/**
|
|
4300
4305
|
* "if ... else if" constructs should end with "else" clauses
|
|
4301
4306
|
* @see https://sonarsource.github.io/rspec/#/rspec/S126/javascript
|
|
@@ -4398,6 +4403,11 @@ interface RuleOptions {
|
|
|
4398
4403
|
* @see https://sonarsource.github.io/rspec/#/rspec/S3531/javascript
|
|
4399
4404
|
*/
|
|
4400
4405
|
'sonar/generator-without-yield'?: Linter.RuleEntry<[]>;
|
|
4406
|
+
/**
|
|
4407
|
+
* Credentials should not be hard-coded
|
|
4408
|
+
* @see https://sonarsource.github.io/rspec/#/rspec/S6437/javascript
|
|
4409
|
+
*/
|
|
4410
|
+
'sonar/hardcoded-secret-signatures'?: Linter.RuleEntry<[]>;
|
|
4401
4411
|
/**
|
|
4402
4412
|
* Using weak hashing algorithms is security-sensitive
|
|
4403
4413
|
* @see https://sonarsource.github.io/rspec/#/rspec/S4790/javascript
|
|
@@ -5163,6 +5173,11 @@ interface RuleOptions {
|
|
|
5163
5173
|
* @deprecated
|
|
5164
5174
|
*/
|
|
5165
5175
|
'sonar/regular-expr'?: Linter.RuleEntry<[]>;
|
|
5176
|
+
/**
|
|
5177
|
+
* Wallet phrases should not be hard-coded
|
|
5178
|
+
* @see https://sonarsource.github.io/rspec/#/rspec/S7639/javascript
|
|
5179
|
+
*/
|
|
5180
|
+
'sonar/review-blockchain-mnemonic'?: Linter.RuleEntry<[]>;
|
|
5166
5181
|
/**
|
|
5167
5182
|
* A new session should be created during user authentication
|
|
5168
5183
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5876/javascript
|
|
@@ -8358,10 +8373,11 @@ type CspellSpellchecker = [] | [{
|
|
|
8358
8373
|
path: string;
|
|
8359
8374
|
});
|
|
8360
8375
|
debugMode?: boolean;
|
|
8361
|
-
generateSuggestions
|
|
8376
|
+
generateSuggestions?: boolean;
|
|
8362
8377
|
ignoreImportProperties?: boolean;
|
|
8363
8378
|
ignoreImports?: boolean;
|
|
8364
8379
|
numSuggestions: number;
|
|
8380
|
+
report?: ("all" | "simple" | "typos" | "flagged");
|
|
8365
8381
|
}];
|
|
8366
8382
|
// ----- accessor-pairs -----
|
|
8367
8383
|
type AccessorPairs = [] | [{
|
package/dist/index.mjs
CHANGED
|
@@ -4394,7 +4394,7 @@ async function jsonc(options = {}) {
|
|
|
4394
4394
|
"jsonc/valid-json-number": "error",
|
|
4395
4395
|
...stylistic$1 !== false ? {
|
|
4396
4396
|
"jsonc/array-bracket-spacing": ["error", "never"],
|
|
4397
|
-
"jsonc/comma-dangle":
|
|
4397
|
+
"jsonc/comma-dangle": "off",
|
|
4398
4398
|
"jsonc/comma-style": ["error", "last"],
|
|
4399
4399
|
"jsonc/indent": ["error", indent],
|
|
4400
4400
|
"jsonc/key-spacing": ["error", {
|
|
@@ -4481,6 +4481,8 @@ async function markdown(options = {}) {
|
|
|
4481
4481
|
"no-unused-vars": "off",
|
|
4482
4482
|
"node/prefer-global/process": "off",
|
|
4483
4483
|
"sonar/file-name-differ-from-class": "off",
|
|
4484
|
+
"sonar/no-dead-store": "off",
|
|
4485
|
+
"sonar/no-unused-collection": "off",
|
|
4484
4486
|
"strict": "off",
|
|
4485
4487
|
"style/comma-dangle": "off",
|
|
4486
4488
|
"style/eol-last": "off",
|
|
@@ -6356,7 +6358,6 @@ async function test(options = {}) {
|
|
|
6356
6358
|
"vitest/no-conditional-in-test": "error",
|
|
6357
6359
|
"vitest/no-conditional-tests": "error",
|
|
6358
6360
|
"vitest/no-disabled-tests": isInEditor ? "off" : "error",
|
|
6359
|
-
"vitest/no-done-callback": "error",
|
|
6360
6361
|
"vitest/no-duplicate-hooks": "error",
|
|
6361
6362
|
"vitest/no-focused-tests": isInEditor ? "off" : "error",
|
|
6362
6363
|
"vitest/no-hooks": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/eslint-config",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.7",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@antfu/install-pkg": "1.1.0",
|
|
51
51
|
"@clack/prompts": "0.11.0",
|
|
52
|
-
"@cspell/eslint-plugin": "9.
|
|
52
|
+
"@cspell/eslint-plugin": "9.6.2",
|
|
53
53
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
54
|
-
"@eslint/compat": "2.0.
|
|
54
|
+
"@eslint/compat": "2.0.1",
|
|
55
55
|
"@eslint/markdown": "7.5.1",
|
|
56
56
|
"@isentinel/dict-rbxts": "1.0.1",
|
|
57
57
|
"@isentinel/dict-roblox": "1.0.3",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"eslint-flat-config-utils": "2.1.4",
|
|
68
68
|
"eslint-import-resolver-node": "0.3.9",
|
|
69
69
|
"eslint-merge-processors": "2.0.0",
|
|
70
|
-
"eslint-plugin-antfu": "3.1.
|
|
70
|
+
"eslint-plugin-antfu": "3.1.3",
|
|
71
71
|
"eslint-plugin-arrow-return-style-x": "1.2.6",
|
|
72
72
|
"eslint-plugin-better-max-params": "1.0.0",
|
|
73
73
|
"eslint-plugin-de-morgan": "2.0.0",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"eslint-plugin-package-json": "0.85.0",
|
|
80
80
|
"eslint-plugin-perfectionist": "4.15.1",
|
|
81
81
|
"eslint-plugin-pnpm": "1.4.3",
|
|
82
|
-
"eslint-plugin-prettier": "5.5.
|
|
82
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
83
83
|
"eslint-plugin-promise": "7.2.1",
|
|
84
84
|
"eslint-plugin-roblox-ts": "1.3.1",
|
|
85
85
|
"eslint-plugin-sentinel": "0.1.2",
|
|
86
|
-
"eslint-plugin-sonarjs": "3.0.
|
|
86
|
+
"eslint-plugin-sonarjs": "3.0.6",
|
|
87
87
|
"eslint-plugin-toml": "0.12.0",
|
|
88
88
|
"eslint-plugin-unicorn": "62.0.0",
|
|
89
89
|
"eslint-plugin-unused-imports": "4.3.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"yargs": "18.0.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@antfu/ni": "28.
|
|
101
|
+
"@antfu/ni": "28.2.0",
|
|
102
102
|
"@eslint/config-inspector": "1.4.2",
|
|
103
103
|
"@isentinel/tsconfig": "1.2.0",
|
|
104
104
|
"@stylistic/eslint-plugin-migrate": "4.4.1",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
111
111
|
"eslint-plugin-eslint-plugin": "7.2.0",
|
|
112
112
|
"eslint-plugin-jest": "29.2.1",
|
|
113
|
-
"eslint-plugin-n": "17.23.
|
|
113
|
+
"eslint-plugin-n": "17.23.2",
|
|
114
114
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
115
115
|
"eslint-plugin-react-naming-convention": "2.3.13",
|
|
116
116
|
"eslint-plugin-react-x": "2.3.13",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"type-fest": "5.3.1",
|
|
128
128
|
"typescript": "5.9.3",
|
|
129
129
|
"unplugin-unused": "0.5.6",
|
|
130
|
-
"@isentinel/eslint-config": "4.7.
|
|
130
|
+
"@isentinel/eslint-config": "4.7.7"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@vitest/eslint-plugin": "^1.0.0",
|