diff --git a/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md index 383c50fe..7c2a247f 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md +++ b/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md @@ -1,38 +1,42 @@ # Change Log -## 11.39.1 - 2025-12-30 +## 11.40.0 - 2026-02-02 + +- [new] extend oxlint config + +## 11.39.1 - 2026-01-30 - [breaking] drop `eslint-plugin-promise` from oxlint config -## 11.39.0 - 2025-12-30 +## 11.39.0 - 2026-01-30 - [breaking] drop `eslint-plugin-promise` from oxlint config -## 11.38.0 - 2025-12-27 +## 11.38.0 - 2026-01-26 - [new] extend sharable oxlint config with eslint-plugin-import rules -## 11.37.0 - 2025-12-27 +## 11.37.0 - 2026-01-27 - [breaking] drop `eslint-plugin-array-func` -## 11.36.1 - 2025-12-26 +## 11.36.1 - 2026-01-26 - [new] extend sharable oxlint config with eslint-plugin-unicorn rules -## 11.36.0 - 2025-12-26 +## 11.36.0 - 2026-01-26 - [new] extend sharable oxlint config with eslint-plugin-unicorn rules -## 11.35.0 - 2025-12-26 +## 11.35.0 - 2026-01-26 - [new] extend sharable oxlint config with eslint-plugin-promise rules -## 11.34.0 - 2025-12-26 +## 11.34.0 - 2026-01-26 - [new] add sharable oxlint config with base eslint rules -## 11.33.0 - 2025-12-20 +## 11.33.0 - 2026-01-20 - [new] expose eslint OXC config diff --git a/eslint-configs/eslint-config-seekingalpha-base/package.json b/eslint-configs/eslint-config-seekingalpha-base/package.json index 1cf3e79b..a0f08d87 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.39.1", + "version": "11.40.0", "description": "SeekingAlpha's sharable base ESLint config", "main": "index.js", "type": "module", diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-config.json b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-config.json index 5348905c..95abb201 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-config.json +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-config.json @@ -28,6 +28,7 @@ "import/no-webpack-loader-syntax": "error", "import/prefer-default-export": "off", "import/unambiguous": "off", + "import/no-relative-parent-imports": "off", "import/no-self-import": "error", "import/consistent-type-specifier-style": ["error", "prefer-top-level"], "import/first": "error", @@ -36,6 +37,7 @@ "import/named": "error", "import/no-duplicates": "error", "import/no-namespace": "error", + "import/no-nodejs-modules": "off", "import/extensions": [ "error", { diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-disabled.js b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-disabled.js index 4776e967..d1617c5e 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-disabled.js +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-import/oxlint-disabled.js @@ -13,6 +13,7 @@ export const ESLintPluginImportDisabled = { 'import/no-webpack-loader-syntax': 'off', 'import/prefer-default-export': 'off', 'import/unambiguous': 'off', + 'import/no-relative-parent-imports': 'off', 'import/no-self-import': 'off', 'import/consistent-type-specifier-style': 'off', 'import/first': 'off', @@ -21,6 +22,7 @@ export const ESLintPluginImportDisabled = { 'import/named': 'off', 'import/no-duplicates': 'off', 'import/no-namespace': 'off', + 'import/no-nodejs-modules': 'off', 'import/extensions': 'off', 'import/no-unassigned-import': 'off', 'import/no-named-default': 'off', diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.json b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.json index 82186711..7860c9bd 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.json +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/oxlint-config.json @@ -277,6 +277,13 @@ "no-warning-comments": "off", "no-with": "error", "operator-assignment": ["error", "never"], + "prefer-const": [ + "error", + { + "destructuring": "any", + "ignoreReadBeforeAssign": false + } + ], "prefer-destructuring": [ "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 57d2658d..f753d3e6 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 @@ -144,6 +144,7 @@ export const ESLintDisabled = { 'no-warning-comments': 'off', 'no-with': 'off', 'operator-assignment': 'off', + 'prefer-const': 'off', 'prefer-destructuring': 'off', 'prefer-exponentiation-operator': 'off', 'prefer-numeric-literals': 'off', diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/suggestions.js b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/suggestions.js index 5e01154f..1fb8256f 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/suggestions.js +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint/suggestions.js @@ -667,14 +667,7 @@ export default { 'sort-imports': 'off', // https://eslint.org/docs/rules/sort-keys - 'sort-keys': [ - 'off', - 'asc', - { - caseSensitive: false, - natural: true, - }, - ], + 'sort-keys': 'off', // https://eslint.org/docs/rules/sort-vars 'sort-vars': [ diff --git a/eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md index c5429e1a..dbc6788a 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.28.0 - 2026-02-02 + +- [new] extend oxlint config + ## 10.27.0 - 2026-01-27 - [new] add sharable oxlint config with eslint-plugin-jsx-a11y and eslint-plugin-react-hooks rules diff --git a/eslint-configs/eslint-config-seekingalpha-react/package.json b/eslint-configs/eslint-config-seekingalpha-react/package.json index 73cf0308..692049ce 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.27.2", + "version": "10.28.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.json b/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.json index eedc6afd..84d5292f 100644 --- a/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.json +++ b/eslint-configs/eslint-config-seekingalpha-react/rules/eslint-plugin-react/oxlint-config.json @@ -39,6 +39,7 @@ } ], "react/jsx-props-no-spread-multi": "error", + "react/no-multi-comp": "off", "react/jsx-no-target-blank": [ "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 0a16dc41..46073364 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 @@ -31,6 +31,7 @@ export const ESLintPluginReactDisabled = { 'react/no-find-dom-node': 'off', 'react/no-is-mounted': 'off', 'react/no-namespace': 'off', + 'react/no-multi-comp': 'off', 'react/no-redundant-should-component-update': 'off', 'react/no-render-return-value': 'off', 'react/no-set-state': 'off', diff --git a/package.json b/package.json index 4b0abedd..66e7819c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seekingalpha-javascript-style", - "version": "9.87.0", + "version": "9.88.0", "description": "Set of linting rules, guides and best practices for best Javascript code", "main": "index.js", "type": "module",