Skip to content

Commit

Permalink
5.38.14 (#385)
Browse files Browse the repository at this point in the history
* eslint-config-seekingalpha-tests ver. 1.96.0
- [deps] upgrade `eslint-plugin-jest` to version `28.2.2`

* eslint-config-seekingalpha-typescript ver. 5.1.0
- [breaking] enable `@typescript-eslint/max-params` rule
- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.7.0`
- [deps] upgrade `@typescript-eslint/parser` to version `7.7.0`
  • Loading branch information
alexkoval committed Apr 16, 2024
1 parent 7f82b6e commit 9a5a6eb
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 11 deletions.
4 changes: 4 additions & 0 deletions eslint-configs/eslint-config-seekingalpha-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 1.96.0 - 2024-04-16

- [deps] upgrade `eslint-plugin-testing-library` to version `6.2.2`

## 1.95.0 - 2024-04-07

- [deps] upgrade `eslint-plugin-jest` to version `28.2.0`
Expand Down
2 changes: 1 addition & 1 deletion eslint-configs/eslint-config-seekingalpha-tests/README.md
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 [email protected] [email protected] [email protected].0 --save-dev
npm install [email protected] [email protected] [email protected].2 --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
6 changes: 3 additions & 3 deletions eslint-configs/eslint-config-seekingalpha-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-tests",
"version": "1.95.0",
"version": "1.96.0",
"description": "SeekingAlpha's sharable testing ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -40,12 +40,12 @@
"peerDependencies": {
"eslint": "8.57.0",
"eslint-plugin-jest": "28.2.0",
"eslint-plugin-testing-library": "6.2.0"
"eslint-plugin-testing-library": "6.2.2"
},
"devDependencies": {
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-jest": "28.2.0",
"eslint-plugin-testing-library": "6.2.0"
"eslint-plugin-testing-library": "6.2.2"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 5.1.0 - 2024-04-16

- [breaking] enable `@typescript-eslint/max-params` rule
- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.7.0`
- [deps] upgrade `@typescript-eslint/parser` to version `7.7.0`

## 5.0.0 - 2024-04-08

- [breaking] remove `@stylistic/eslint-plugin-ts`
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 [email protected] @typescript-eslint/eslint-plugin@7.6.0 @typescript-eslint/parser@7.6.0 --save-dev
npm install [email protected] @typescript-eslint/eslint-plugin@7.7.0 @typescript-eslint/parser@7.7.0 --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-typescript",
"version": "5.0.0",
"version": "5.1.0",
"description": "SeekingAlpha's sharable typescript ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -37,13 +37,13 @@
"node": ">= 20"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"eslint": "8.57.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
indent: 2,
maxParams: 4,
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module.exports = {

'init-declarations': 'off',

'max-params': 'off',

'no-array-constructor': 'off',

'no-dupe-class-members': 'off',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const config = require('../config');

const rulesRunTs = {
'@typescript-eslint/require-await': 'off',

Expand Down Expand Up @@ -153,6 +155,8 @@ module.exports = {

'@typescript-eslint/init-declarations': ['off', 'always'],

'@typescript-eslint/max-params': ['error', { max: config.maxParams }],

'@typescript-eslint/member-ordering': 'error',

'@typescript-eslint/method-signature-style': 'error',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seekingalpha-javascript-style",
"version": "5.38.13",
"version": "5.38.14",
"description": "Set of linting rules, guides and best practices for best Javascript code",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 9a5a6eb

Please sign in to comment.