Skip to content

Commit 69208f8

Browse files
committed
drop promise/spec-only in favor of es/no-nonstandard-promise-properties
1 parent 1fe4a16 commit 69208f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/eslint/eslint.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,12 +573,6 @@ const base = {
573573
'promise/prefer-await-to-then': [ERROR, { strict: true }],
574574
// prefer catch to `then(a, b)` / `then(null, b)` for handling errors
575575
'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-
] }],
582576
// ensures the proper number of arguments are passed to `Promise` functions
583577
'promise/valid-params': ERROR,
584578

0 commit comments

Comments
 (0)