Skip to content

Commit

Permalink
chore: Upgrade eslint-plugin-promise to v6.4.0 (#863)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jul 4, 2024
1 parent ebe1682 commit 9fdf4ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
12 changes: 1 addition & 11 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,19 +165,9 @@ export default typescriptEslint.config(
// }
// },

// This plugin does not support the flat config yet
// https://github.com/eslint-community/eslint-plugin-promise/issues/449
{
files: ['**/*.js', '**/*.mjs', '**/*.ts'],
plugins: {
promise: promisePlugin,
},
rules: {
...promisePlugin.configs.recommended.rules,
'promise/no-promise-in-callback': 'off',
'promise/no-return-in-callback': 'off',
'promise/no-return-wrap': 'off',
},
...promisePlugin.configs['flat/recommended'],
},

...compat.extends('eslint-config-prettier'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.2.0",
"eslint-plugin-promise": "6.4.0",
"globals": "15.3.0",
"husky": "9.0.11",
"jest": "29.7.0",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9fdf4ac

Please sign in to comment.