diff --git a/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md index 2e3f9dee..2c191846 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.43.0 - 2026-02-24 + +- [new] extend oxlint config + ## 11.42.0 - 2026-02-16 - [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 da568356..a834e012 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.42.0", + "version": "11.43.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-unicorn/index.js b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/index.js index 4c6e23eb..1de5282b 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/index.js +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/index.js @@ -358,11 +358,8 @@ export default { // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-modern-math-apis.md 'unicorn/prefer-modern-math-apis': 'error', - /* - * Enable after migration to nodejs 16 with esm - * https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-module.md - */ - 'unicorn/prefer-module': 'off', + // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-module.md + 'unicorn/prefer-module': 'error', // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-native-coercion-functions.md 'unicorn/prefer-native-coercion-functions': 'error', diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-config.json b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-config.json index 165b5db7..39eb823f 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-config.json +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-config.json @@ -98,6 +98,7 @@ "unicorn/prefer-math-trunc": "error", "unicorn/prefer-modern-dom-apis": "error", "unicorn/prefer-modern-math-apis": "error", + "unicorn/prefer-module": "error", "unicorn/prefer-native-coercion-functions": "error", "unicorn/prefer-negative-index": "error", "unicorn/prefer-node-protocol": "error", @@ -118,6 +119,7 @@ "unicorn/prefer-string-starts-ends-with": "error", "unicorn/prefer-string-trim-start-end": "error", "unicorn/prefer-structured-clone": "error", + "unicorn/prefer-ternary": "error", "unicorn/prefer-top-level-await": "off", "unicorn/prefer-type-error": "error", "unicorn/relative-url-style": ["error", "never"], diff --git a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-disabled.js b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-disabled.js index 197786d3..9de39f7b 100644 --- a/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-disabled.js +++ b/eslint-configs/eslint-config-seekingalpha-base/rules/eslint-plugin-unicorn/oxlint-disabled.js @@ -90,6 +90,7 @@ export const ESLintPluginUnicornDisabled = { 'unicorn/prefer-math-trunc': 'off', 'unicorn/prefer-modern-dom-apis': 'off', 'unicorn/prefer-modern-math-apis': 'off', + 'unicorn/prefer-module': 'off', 'unicorn/prefer-native-coercion-functions': 'off', 'unicorn/prefer-negative-index': 'off', 'unicorn/prefer-node-protocol': 'off', @@ -110,6 +111,7 @@ export const ESLintPluginUnicornDisabled = { 'unicorn/prefer-string-starts-ends-with': 'off', 'unicorn/prefer-string-trim-start-end': 'off', 'unicorn/prefer-structured-clone': 'off', + 'unicorn/prefer-ternary': 'off', 'unicorn/prefer-top-level-await': 'off', 'unicorn/prefer-type-error': 'off', 'unicorn/relative-url-style': 'off', diff --git a/eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md b/eslint-configs/eslint-config-seekingalpha-typescript/CHANGELOG.md index 9cc1f022..2e859461 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.65.0 - 2026-02-24 + +- [deps] upgrade `typescript-eslint` to version `8.56.1` + ## 8.64.0 - 2026-02-20 - [new] extend oxlint rules diff --git a/eslint-configs/eslint-config-seekingalpha-typescript/README.md b/eslint-configs/eslint-config-seekingalpha-typescript/README.md index 67497689..c89c5941 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.56.0 --save-dev + npm install eslint@9.39.2 typescript-eslint@8.56.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 f3330739..00b08fe9 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.64.0", + "version": "8.65.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.56.0" + "typescript-eslint": "8.56.1" }, "devDependencies": { "eslint": "9.39.2", "eslint-find-rules": "5.0.0", - "typescript-eslint": "8.56.0" + "typescript-eslint": "8.56.1" } }