We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
promise/spec-only
es/no-nonstandard-promise-properties
1 parent 1fe4a16 commit 69208f8Copy full SHA for 69208f8
tests/eslint/eslint.config.js
@@ -573,12 +573,6 @@ const base = {
573
'promise/prefer-await-to-then': [ERROR, { strict: true }],
574
// prefer catch to `then(a, b)` / `then(null, b)` for handling errors
575
'promise/prefer-catch': ERROR,
576
- // disallow use of non-standard `Promise` static methods
577
- 'promise/spec-only': [OFF, { allowedMethods: [
578
- 'prototype', // `eslint-plugin-promise` bug, https://github.com/eslint-community/eslint-plugin-promise/issues/533
579
- 'try',
580
- 'undefined', // `eslint-plugin-promise` bug, https://github.com/eslint-community/eslint-plugin-promise/issues/534
581
- ] }],
582
// ensures the proper number of arguments are passed to `Promise` functions
583
'promise/valid-params': ERROR,
584
0 commit comments