Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ver/5.38.35 #408

Merged
merged 6 commits into from
Jul 20, 2024
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
Empty file removed .husky/_/husky.sh
Empty file.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
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

## 8.7.0 - 2024-07-20

- [deps] update `eslint-plugin-promise` to version `6.5.1`

## 8.6.0 - 2024-07-01

- [deps] update `eslint-plugin-promise` to version `6.4.0`
Expand Down
2 changes: 1 addition & 1 deletion eslint-configs/eslint-config-seekingalpha-base/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] eslint-plugin-promise@6.4.0 [email protected] --save-dev
npm install [email protected] [email protected] [email protected] eslint-plugin-promise@6.5.1 [email protected] --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
6 changes: 3 additions & 3 deletions eslint-configs/eslint-config-seekingalpha-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-base",
"version": "8.6.0",
"version": "8.7.0",
"description": "SeekingAlpha's sharable base ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -51,15 +51,15 @@
"eslint": "8.57.0",
"eslint-plugin-array-func": "4.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.4.0",
"eslint-plugin-promise": "6.5.1",
"eslint-plugin-unicorn": "54.0.0"
},
"devDependencies": {
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-array-func": "4.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.4.0",
"eslint-plugin-promise": "6.5.1",
"eslint-plugin-unicorn": "54.0.0"
}
}
5 changes: 5 additions & 0 deletions eslint-configs/eslint-config-seekingalpha-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 7.34.0 - 2024-07-20

- [deps] upgrade `eslint-plugin-react` to version `7.35.0`
- [breaking] introduce `react/jsx-props-no-spread-multi` rule

## 7.33.0 - 2024-07-14

- [deps] upgrade `eslint-plugin-react` to version `7.34.4`
Expand Down
2 changes: 1 addition & 1 deletion eslint-configs/eslint-config-seekingalpha-react/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] eslint-plugin-react@7.34.4 [email protected] --save-dev
npm install [email protected] [email protected] eslint-plugin-react@7.35.0 [email protected] --save-dev

Install SeekingAlpha shareable ESLint:

Expand Down
6 changes: 3 additions & 3 deletions eslint-configs/eslint-config-seekingalpha-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-seekingalpha-react",
"version": "7.33.0",
"version": "7.34.0",
"description": "SeekingAlpha's sharable React.js ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -51,14 +51,14 @@
"peerDependencies": {
"eslint": "8.57.0",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-react": "7.34.4",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2"
},
"devDependencies": {
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-react": "7.34.4",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ module.exports = {
},
],

// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-spread-multi.md
'react/jsx-props-no-spread-multi': 'error',

// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md
'react/jsx-no-target-blank': [
'error',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 5.13.0 - 2024-07-20

- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.16.1`
- [deps] upgrade `@typescript-eslint/parser` to version `7.16.1`

## 5.12.0 - 2024-07-09

- [deps] upgrade `@typescript-eslint/eslint-plugin` to version `7.16.0`
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/[email protected].0 @typescript-eslint/[email protected].0 --save-dev
npm install [email protected] @typescript-eslint/[email protected].1 @typescript-eslint/[email protected].1 --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.12.0",
"version": "5.13.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.16.0",
"@typescript-eslint/parser": "7.16.0",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"eslint": "8.57.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"eslint": "8.57.0",
"eslint-find-rules": "4.1.0"
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seekingalpha-javascript-style",
"version": "5.38.34",
"version": "5.38.35",
"description": "Set of linting rules, guides and best practices for best Javascript code",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -54,7 +54,7 @@
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.4.0",
"eslint-plugin-unicorn": "54.0.0",
"husky": "9.0.11",
"husky": "9.1.1",
"lint-staged": "15.2.7",
"prettier": "3.3.3"
}
Expand Down