Skip to content

Commit 3af228e

Browse files
committed
eslint-config-seekingalpha-typescript ver. 8.62.0
- [new] extend oxlint rules
1 parent c43d846 commit 3af228e

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 8.62.0 - 2026-02-16
4+
5+
- [new] extend oxlint rules
6+
37
## 8.61.0 - 2026-02-11
48

59
- [new] extend oxlint rules

eslint-configs/eslint-config-seekingalpha-typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-seekingalpha-typescript",
3-
"version": "8.61.0",
3+
"version": "8.62.0",
44
"description": "SeekingAlpha's sharable typescript ESLint config",
55
"main": "index.js",
66
"type": "module",

eslint-configs/eslint-config-seekingalpha-typescript/rules/typescript-eslint/oxlint-config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,25 @@
4545
"typescript/no-unnecessary-type-constraint": "error",
4646
"typescript/no-unsafe-declaration-merging": "error",
4747
"typescript/no-unsafe-function-type": "error",
48+
"typescript/no-use-before-define": [
49+
"error",
50+
{
51+
"allowNamedExports": false,
52+
"classes": true,
53+
"enums": true,
54+
"functions": true,
55+
"ignoreTypeReferences": true,
56+
"typedefs": true,
57+
"variables": true
58+
}
59+
],
4860
"typescript/no-useless-empty-export": "error",
4961
"typescript/no-var-requires": "error",
5062
"typescript/no-wrapper-object-types": "error",
63+
"typescript/parameter-properties": [
64+
"error",
65+
{ "allow": ["private", "protected"] }
66+
],
5167
"typescript/prefer-as-const": "error",
5268
"typescript/prefer-enum-initializers": "error",
5369
"typescript/prefer-for-of": "error",
@@ -115,6 +131,7 @@
115131
"typescript/strict-boolean-expressions": "off",
116132
"typescript/switch-exhaustiveness-check": "off",
117133
"typescript/unbound-method": "off",
134+
"typescript/unified-signatures": "error",
118135
"typescript/use-unknown-in-catch-callback-variable": "off"
119136
}
120137
}

eslint-configs/eslint-config-seekingalpha-typescript/rules/typescript-eslint/oxlint-disabled.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ export const ESLintPluginTypescriptDisabled = {
3030
'@typescript-eslint/no-unnecessary-type-constraint': 'off',
3131
'@typescript-eslint/no-unsafe-declaration-merging': 'off',
3232
'@typescript-eslint/no-unsafe-function-type': 'off',
33+
'@typescript-eslint/no-use-before-define': 'off',
3334
'@typescript-eslint/no-useless-empty-export': 'off',
3435
'@typescript-eslint/no-var-requires': 'off',
3536
'@typescript-eslint/no-wrapper-object-types': 'off',
37+
'@typescript-eslint/parameter-properties': 'off',
3638
'@typescript-eslint/prefer-as-const': 'off',
3739
'@typescript-eslint/prefer-enum-initializers': 'off',
3840
'@typescript-eslint/prefer-for-of': 'off',
@@ -60,6 +62,7 @@ export const ESLintPluginTypescriptDisabled = {
6062
'@typescript-eslint/no-mixed-enums': 'off',
6163
'@typescript-eslint/no-redundant-type-constituents': 'off',
6264
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
65+
'@typescript-eslint/no-unnecessary-condition': 'off',
6366
'@typescript-eslint/no-unnecessary-template-expression': 'off',
6467
'@typescript-eslint/no-unnecessary-type-arguments': 'off',
6568
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
@@ -89,5 +92,6 @@ export const ESLintPluginTypescriptDisabled = {
8992
'@typescript-eslint/strict-boolean-expressions': 'off',
9093
'@typescript-eslint/switch-exhaustiveness-check': 'off',
9194
'@typescript-eslint/unbound-method': 'off',
95+
'@typescript-eslint/unified-signatures': 'off',
9296
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'off',
9397
};

0 commit comments

Comments
 (0)