From 5acb992c8d131dfdea1bad7cde3b39c5682816d9 Mon Sep 17 00:00:00 2001 From: Aleksey Kovalevsky Date: Mon, 27 Apr 2026 21:51:18 +0300 Subject: [PATCH 1/4] eslint-config-seekingalpha-base ver. 11.53.0 - [new] extend oxlint config --- .../CHANGELOG.md | 4 ++++ .../package.json | 2 +- .../rules/eslint/oxlint-config.js | 17 +++++++++++++++++ .../rules/eslint/oxlint-disabled.js | 2 ++ 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md index 341d58cc..98cfebc0 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md +++ b/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 11.53.0 - 2026-04-27 + +- [new] extend oxlint config + ## 11.52.0 - 2026-04-13 - [new] extend oxlint config diff --git a/eslint-configs/eslint-config-seekingalpha-base/package.json b/eslint-configs/eslint-config-seekingalpha-base/package.json index 8c79ac10..28d9ee4f 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/package.json +++ b/eslint-configs/eslint-config-seekingalpha-base/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-seekingalpha-base", - "version": "11.52.0", + "version": "11.53.0", "description": "SeekingAlpha's sharable base ESLint config", "main": "index.js", "type": "module", diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.js b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.js index d75a3055..96c49c1d 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.js +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.js @@ -3,6 +3,14 @@ export default { 'array-callback-return': 'error', 'constructor-super': 'error', 'for-direction': 'error', + 'func-name-matching': [ + 'error', + 'always', + { + considerPropertyDescriptor: true, + includeCommonJSModuleExports: true, + }, + ], 'no-async-promise-executor': 'error', 'no-await-in-loop': 'error', 'no-class-assign': 'error', @@ -61,6 +69,15 @@ export default { 'no-this-before-super': 'error', 'no-unassigned-vars': 'error', 'no-unexpected-multiline': 'error', + 'no-underscore-dangle': [ + 'error', + { + allow: [], + allowAfterThis: false, + allowAfterSuper: false, + enforceInMethodNames: false, + }, + ], 'no-unmodified-loop-condition': 'error', 'no-unsafe-finally': 'error', 'no-unsafe-negation': 'error', diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-disabled.js b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-disabled.js index 8b686191..da04cc74 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-disabled.js +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-disabled.js @@ -4,6 +4,7 @@ export const ESLintDisabled = { 'consistent-return': 'off', 'constructor-super': 'off', 'for-direction': 'off', + 'func-name-matching': 'off', 'no-async-promise-executor': 'off', 'no-await-in-loop': 'off', 'no-class-assign': 'off', @@ -47,6 +48,7 @@ export const ESLintDisabled = { 'no-this-before-super': 'off', 'no-unassigned-vars': 'off', 'no-unexpected-multiline': 'off', + 'no-underscore-dangle': 'off', 'no-unsafe-finally': 'off', 'no-unsafe-negation': 'off', 'no-unsafe-optional-chaining': 'off', From 19391fd31d276ad6f0e85a4a6ff9e654b991998b Mon Sep 17 00:00:00 2001 From: Aleksey Kovalevsky Date: Mon, 27 Apr 2026 21:55:01 +0300 Subject: [PATCH 2/4] eslint-config-seekingalpha-react ver. 10.35.0 - [new] extend oxlint config --- .../eslint-config-seekingalpha-react/CHANGELOG.md | 4 ++++ .../eslint-config-seekingalpha-react/package.json | 2 +- .../rules/eslint-plugin-react/oxlint-config.js | 13 +++++++++++++ .../rules/eslint-plugin-react/oxlint-disabled.js | 2 ++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md index 97c64593..03d365c1 100644 --- a/eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md +++ b/eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 10.35.0 - 2026-04-27 + +- [new] extend oxlint config + ## 10.34.0 - 2026-04-17 - [deps] upgrade `eslint-plugin-react-hooks` to version `7.1.1` diff --git a/eslint-configs/eslint-config-seekingalpha-react/package.json b/eslint-configs/eslint-config-seekingalpha-react/package.json index 2991ee32..e93018d6 100644 --- a/eslint-configs/eslint-config-seekingalpha-react/package.json +++ b/eslint-configs/eslint-config-seekingalpha-react/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-seekingalpha-react", - "version": "10.34.0", + "version": "10.35.0", "description": "SeekingAlpha's sharable React.js ESLint config", "main": "index.js", "type": "module", diff --git a/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.js b/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.js index 3da1d978..8dd5a937 100644 --- a/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.js +++ b/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.js @@ -75,6 +75,18 @@ export default { ], 'react/checked-requires-onchange-or-readonly': 'error', 'react/display-name': 'off', + 'react/forbid-component-props': [ + 'error', + { + forbid: [ + 'style', + { + propName: 'className', + allowedFor: ['Button', 'Icon', 'Link'], + }, + ], + }, + ], 'react/forbid-dom-props': [ 'error', { @@ -142,6 +154,7 @@ export default { 'react/no-children-prop': 'error', 'react/no-danger-with-children': 'error', 'react/no-did-mount-set-state': 'off', + 'react/no-did-update-set-state': 'off', 'react/no-direct-mutation-state': 'error', 'react/no-find-dom-node': 'error', 'react/no-is-mounted': 'error', diff --git a/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-disabled.js b/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-disabled.js index f7618a7e..558e7840 100644 --- a/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-disabled.js +++ b/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-disabled.js @@ -20,6 +20,7 @@ export const ESLintPluginReactDisabled = { 'react/button-has-type': 'off', 'react/checked-requires-onchange-or-readonly': 'off', 'react/display-name': 'off', + 'react/forbid-component-props': 'off', 'react/forbid-dom-props': 'off', 'react/forbid-elements': 'off', 'react/forward-ref-uses-ref': 'off', @@ -29,6 +30,7 @@ export const ESLintPluginReactDisabled = { 'react/no-children-prop': 'off', 'react/no-danger-with-children': 'off', 'react/no-did-mount-set-state': 'off', + 'react/no-did-update-set-state': 'off', 'react/no-direct-mutation-state': 'off', 'react/no-find-dom-node': 'off', 'react/no-is-mounted': 'off', From 8d1e863301f088acd581a74c5d6302e1adf4ba1e Mon Sep 17 00:00:00 2001 From: Aleksey Kovalevsky Date: Mon, 27 Apr 2026 22:15:13 +0300 Subject: [PATCH 3/4] eslint-config-seekingalpha-typescript ver. 8.74.0 - [deps] upgrade `typescript-eslint` to version `8.59.1` --- .../eslint-config-seekingalpha-typescript/CHANGELOG.md | 4 ++++ .../eslint-config-seekingalpha-typescript/README.md | 2 +- .../eslint-config-seekingalpha-typescript/package.json | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md index 12ffa1f8..d616c727 100644 --- a/eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md +++ b/eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 8.74.0 - 2026-04-17 + +- [deps] upgrade `typescript-eslint` to version `8.59.1` + ## 8.73.0 - 2026-04-17 - [deps] upgrade `typescript-eslint` to version `8.58.2` diff --git a/eslint-configs/eslint-config-seekingalpha-typescript/README.md b/eslint-configs/eslint-config-seekingalpha-typescript/README.md index 10b15381..e7736534 100644 --- a/eslint-configs/eslint-config-seekingalpha-typescript/README.md +++ b/eslint-configs/eslint-config-seekingalpha-typescript/README.md @@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/ Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/): - npm install eslint@9.39.2 typescript-eslint@8.58.2 --save-dev + npm install eslint@9.39.2 typescript-eslint@8.59.1 --save-dev Install SeekingAlpha shareable ESLint: diff --git a/eslint-configs/eslint-config-seekingalpha-typescript/package.json b/eslint-configs/eslint-config-seekingalpha-typescript/package.json index 16edfdd3..94c3e43d 100644 --- a/eslint-configs/eslint-config-seekingalpha-typescript/package.json +++ b/eslint-configs/eslint-config-seekingalpha-typescript/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-seekingalpha-typescript", - "version": "8.73.0", + "version": "8.74.0", "description": "SeekingAlpha's sharable typescript ESLint config", "main": "index.js", "type": "module", @@ -39,11 +39,11 @@ }, "peerDependencies": { "eslint": "9.39.2", - "typescript-eslint": "8.58.2" + "typescript-eslint": "8.59.1" }, "devDependencies": { "eslint": "9.39.2", "eslint-find-rules": "5.0.0", - "typescript-eslint": "8.58.2" + "typescript-eslint": "8.59.1" } } From 3bcfe6ba1c32dafac47044c3b903c18d00b19ead Mon Sep 17 00:00:00 2001 From: Aleksey Kovalevsky Date: Mon, 27 Apr 2026 22:15:18 +0300 Subject: [PATCH 4/4] Update oxlint-disabled.js --- .../rules/typescript-eslint/oxlint-disabled.js | 1 + 1 file changed, 1 insertion(+) diff --git a/eslint-configs/eslint-config-seekingalpha-typescript/rules/typescript-eslint/oxlint-disabled.js b/eslint-configs/eslint-config-seekingalpha-typescript/rules/typescript-eslint/oxlint-disabled.js index 37a209dc..0c25521f 100644 --- a/eslint-configs/eslint-config-seekingalpha-typescript/rules/typescript-eslint/oxlint-disabled.js +++ b/eslint-configs/eslint-config-seekingalpha-typescript/rules/typescript-eslint/oxlint-disabled.js @@ -8,6 +8,7 @@ export const ESLintPluginTypescriptDisabled = { '@typescript-eslint/consistent-indexed-object-style': 'off', '@typescript-eslint/consistent-type-definitions': 'off', '@typescript-eslint/consistent-type-imports': 'off', + '@typescript-eslint/explicit-member-accessibility': 'off', '@typescript-eslint/no-confusing-non-null-assertion': 'off', '@typescript-eslint/no-duplicate-enum-values': 'off', '@typescript-eslint/no-dynamic-delete': 'off',