Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
run: npm run lint

- name: Prettier
run: npm run prettier:check
run: npm run oxfmt:check
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

4 changes: 4 additions & 0 deletions eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 11.60.0 - 2026-05-27

- [new] extend oxlint config

## 11.59.0 - 2026-05-19

- [new] extend oxlint config
Expand Down
2 changes: 1 addition & 1 deletion eslint-configs/eslint-config-seekingalpha-base/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import esLintConfig from './rules/eslint/index.js';
import esLintPluginImport from './rules/eslint-plugin-import/index.js';
import esLintPluginPromise from './rules/eslint-plugin-promise/index.js';
import esLintPluginUnicorn from './rules/eslint-plugin-unicorn/index.js';
import esLintConfig from './rules/eslint/index.js';

export default {
plugins: {
Expand Down
6 changes: 3 additions & 3 deletions eslint-configs/eslint-config-seekingalpha-base/oxc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import esLintConfig from './rules/eslint/index.js';
import esLintPluginImport from './rules/eslint-plugin-import/index.js';
import { ESLintPluginImportDisabled } from './rules/eslint-plugin-import/oxlint-disabled.js';
import esLintPluginUnicorn from './rules/eslint-plugin-unicorn/index.js';
import { ESLintDisabled } from './rules/eslint/oxlint-disabled.js';
import { ESLintPluginUnicornDisabled } from './rules/eslint-plugin-unicorn/oxlint-disabled.js';
import { ESLintPluginImportDisabled } from './rules/eslint-plugin-import/oxlint-disabled.js';
import esLintConfig from './rules/eslint/index.js';
import { ESLintDisabled } from './rules/eslint/oxlint-disabled.js';

const oxcConfig = {
plugins: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import baseConfig from './rules/eslint/oxlint-config.js';
import importConfig from './rules/eslint-plugin-import/oxlint-config.js';
import unicornConfig from './rules/eslint-plugin-unicorn/oxlint-config.js';
import baseConfig from './rules/eslint/oxlint-config.js';

export default {
extends: [baseConfig, importConfig, unicornConfig],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-base",
"version": "11.59.0",
"version": "11.60.0",
"description": "SeekingAlpha's sharable base ESLint config",
"main": "index.js",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default {

/*
* https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/empty-brace-spaces.md
* Disabled to work with prettier
* Disabled to work with oxfmt
*/
'unicorn/empty-brace-spaces': 'off',

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default {
'unicorn/escape-case': 'error',
'unicorn/explicit-length-check': 'off',
'unicorn/filename-case': 'off',
'unicorn/import-style': 'off',
'unicorn/new-for-builtins': 'error',
'unicorn/no-abusive-eslint-disable': 'error',
'unicorn/no-accessor-recursion': 'error',
Expand Down Expand Up @@ -71,8 +72,8 @@ export default {
'unicorn/no-useless-promise-resolve-reject': 'error',
'unicorn/no-useless-undefined': 'error',
'unicorn/no-zero-fractions': 'error',
'number-literal-case': 'off',
'numeric-separators-style': 'off',
'unicorn/number-literal-case': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-add-event-listener': 'error',
'unicorn/prefer-array-find': 'error',
'unicorn/prefer-array-flat': 'error',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const ESLintPluginUnicornDisabled = {
'unicorn/escape-case': 'off',
'unicorn/explicit-length-check': 'off',
'unicorn/filename-case': 'off',
'unicorn/import-style': 'off',
'unicorn/new-for-builtins': 'off',
'unicorn/no-abusive-eslint-disable': 'off',
'unicorn/no-accessor-recursion': 'off',
Expand Down Expand Up @@ -64,8 +65,8 @@ export const ESLintPluginUnicornDisabled = {
'unicorn/no-useless-promise-resolve-reject': 'off',
'unicorn/no-useless-undefined': 'off',
'unicorn/no-zero-fractions': 'off',
'number-literal-case': 'off',
'numeric-separators-style': 'off',
'unicorn/number-literal-case': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-add-event-listener': 'off',
'unicorn/prefer-array-find': 'off',
'unicorn/prefer-array-flat': 'off',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default {
/*
* https://eslint.org/docs/rules/unicode-bom
* disabled to work with prettier
* disable to work with oxfmt
*/
'unicode-bom': 'off',
};
2 changes: 1 addition & 1 deletion eslint-configs/eslint-config-seekingalpha-react/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import jsxA11yConfig from './rules/eslint-plugin-jsx-a11y/index.js';
import reactConfig from './rules/eslint-plugin-react/index.js';
import reactHooksConfig from './rules/eslint-plugin-react-hooks/index.js';
import reactConfig from './rules/eslint-plugin-react/index.js';

export default {
plugins: {
Expand Down
5 changes: 2 additions & 3 deletions eslint-configs/eslint-config-seekingalpha-react/oxc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { ESLintPluginReactDisabled } from './rules/eslint-plugin-react/oxlint-disabled.js';
import config from './index.js';
import { ESLintPluginA11YDisabled } from './rules/eslint-plugin-jsx-a11y/oxlint-disabled.js';
import { ESLintPluginReactHooksDisabled } from './rules/eslint-plugin-react-hooks/oxlint-disabled.js';

import config from './index.js';
import { ESLintPluginReactDisabled } from './rules/eslint-plugin-react/oxlint-disabled.js';

const oxcConfig = {
...config,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import reactConfig from './rules/eslint-plugin-react/oxlint-config.js';
import jsxA11yConfig from './rules/eslint-plugin-jsx-a11y/oxlint-config.js';
import reactHooksConfig from './rules/eslint-plugin-react-hooks/oxlint-config.js';
import reactConfig from './rules/eslint-plugin-react/oxlint-config.js';

export default {
extends: [reactConfig, jsxA11yConfig, reactHooksConfig],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-child-element-spacing.md
* Disabled to work with prettier
* Disabled to work with oxfmt
*/
'react/jsx-child-element-spacing': 'off',

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-closing-bracket-location': 'off',

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-closing-tag-location': 'off',

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-spacing.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-curly-spacing': 'off',

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-equals-spacing.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-equals-spacing': 'off',

Expand All @@ -51,7 +51,7 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-first-prop-new-line.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-first-prop-new-line': 'off',

Expand All @@ -63,13 +63,13 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-indent': 'off',

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent-props.md
* disable ti work with prettier
* disable ti work with oxfmt
*/
'react/jsx-indent-props': 'off',

Expand All @@ -93,13 +93,13 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-max-props-per-line.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-max-props-per-line': 'off',

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-newline.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-newline': 'off',

Expand Down Expand Up @@ -147,7 +147,7 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-one-expression-per-line.md
* disable to worl with prettier
* disable to worl with oxfmt
*/
'react/jsx-one-expression-per-line': 'off',

Expand All @@ -171,7 +171,7 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-multi-spaces.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-props-no-multi-spaces': 'off',

Expand All @@ -193,7 +193,7 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-tag-spacing': 'off',

Expand All @@ -208,7 +208,7 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-wrap-multilines.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-wrap-multilines': 'off',

Expand All @@ -223,7 +223,7 @@ export default {

/*
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md
* disable to work with prettier
* disable to work with oxfmt
*/
'react/jsx-curly-newline': 'off',

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 8.78.0 - 2026-05-27

- [deps] upgrade `typescript-eslint` to version `8.60.0`

## 8.77.0 - 2026-05-19

- [deps] upgrade `typescript-eslint` to version `8.59.4`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.59.4 --save-dev
npm install eslint@9.39.2 typescript-eslint@8.60.0 --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
3 changes: 1 addition & 2 deletions eslint-configs/eslint-config-seekingalpha-typescript/oxc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ESLintPluginTypescriptDisabled } from './rules/typescript-eslint/oxlint-disabled.js';

import config from './index.js';
import { ESLintPluginTypescriptDisabled } from './rules/typescript-eslint/oxlint-disabled.js';

const oxcConfig = {
...config,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-typescript",
"version": "8.77.0",
"version": "8.78.0",
"description": "SeekingAlpha's sharable typescript ESLint config",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -39,11 +39,11 @@
},
"peerDependencies": {
"eslint": "9.39.2",
"typescript-eslint": "8.59.4"
"typescript-eslint": "8.60.0"
},
"devDependencies": {
"eslint": "9.39.2",
"eslint-find-rules": "5.0.0",
"typescript-eslint": "8.59.4"
"typescript-eslint": "8.60.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ export default {

'@typescript-eslint/no-dynamic-delete': 'error',

'@typescript-eslint/no-empty-interface': 'error',

'@typescript-eslint/no-empty-object-type': 'error',

'@typescript-eslint/no-explicit-any': 'off',
Expand Down Expand Up @@ -272,8 +270,6 @@ export default {

'@typescript-eslint/no-useless-empty-export': 'error',

'@typescript-eslint/no-var-requires': 'error',

'@typescript-eslint/no-wrapper-object-types': 'error',

'@typescript-eslint/prefer-as-const': 'error',
Expand All @@ -290,8 +286,6 @@ export default {

'@typescript-eslint/triple-slash-reference': 'error',

'@typescript-eslint/typedef': 'off',

'@typescript-eslint/unified-signatures': 'error',

'@typescript-eslint/array-type': [
Expand All @@ -314,6 +308,4 @@ export default {
],

'@typescript-eslint/explicit-module-boundary-types': 'off',

'@typescript-eslint/no-type-alias': 'off',
};
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const ESLintPluginTypescriptDisabled = {
'@typescript-eslint/no-confusing-non-null-assertion': 'off',
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-extra-non-null-assertion': 'off',
Expand All @@ -35,7 +34,6 @@ export const ESLintPluginTypescriptDisabled = {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-useless-empty-export': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/parameter-properties': 'off',
'@typescript-eslint/prefer-as-const': 'off',
Expand Down
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'eslint/config';
import baseConfig from 'eslint-config-seekingalpha-base/oxc.js';
import nodeConfig from 'eslint-config-seekingalpha-node';
import { defineConfig } from 'eslint/config';

export default defineConfig([
{
Expand All @@ -20,6 +20,7 @@ export default defineConfig([
rules: {
...baseConfig.rules,
...nodeConfig.rules,
'import/order': 'off',
'import/no-unresolved': 'off',
'n/file-extension-in-import': 'off',
'n/no-missing-import': 'off',
Expand Down
Loading