Skip to content

Commit

Permalink
eslint-config-seekingalpha-base ver. 8.5.0 (#400)
Browse files Browse the repository at this point in the history
- [deps] update `eslint-plugin-unicorn` to version `53.0.0`
- [breaking] enable `unicorn/no-negation-in-equality-check` rule
  • Loading branch information
alexkoval committed Jun 16, 2024
1 parent 24593a0 commit 735caf9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions eslint-configs/eslint-config-seekingalpha-base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 8.5.0 - 2024-06-16

- [deps] update `eslint-plugin-unicorn` to version `53.0.0`
- [breaking] enable `unicorn/no-negation-in-equality-check` rule

## 8.4.0 - 2024-05-28

- [deps] update `eslint-plugin-promise` to version `6.2.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] [email protected] eslint-plugin-unicorn@53.0.0 --save-dev
npm install [email protected] [email protected] [email protected] [email protected] eslint-plugin-unicorn@54.0.0 --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.4.0",
"version": "8.5.0",
"description": "SeekingAlpha's sharable base ESLint config",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -52,14 +52,14 @@
"eslint-plugin-array-func": "4.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.2.0",
"eslint-plugin-unicorn": "53.0.0"
"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.2.0",
"eslint-plugin-unicorn": "53.0.0"
"eslint-plugin-unicorn": "54.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ module.exports = {
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-magic-array-flat-depth.md
'unicorn/no-magic-array-flat-depth': 'error',

// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negation-in-equality-check.md
'unicorn/no-negation-in-equality-check': 'error',

/*
* Disabled in favour of native ESLint no-negated-condition rule
* https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md
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.26",
"version": "5.38.27",
"description": "Set of linting rules, guides and best practices for best Javascript code",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 735caf9

Please sign in to comment.