mirror of
https://github.com/token2/chromeos_smart_card_connector.git
synced 2026-06-22 14:42:50 -07:00
[eslint] Reenable no-floating-promise (#1153)
This plugin has been fixed upstream to be compatible with ESLint 9.0. Hence we can partially revert #1144 to reenable it as part of our lint checks.
This commit is contained in:
@@ -2,6 +2,8 @@ env:
|
|||||||
browser: true
|
browser: true
|
||||||
es2020: true
|
es2020: true
|
||||||
extends: eslint:recommended
|
extends: eslint:recommended
|
||||||
|
plugins:
|
||||||
|
- no-floating-promise
|
||||||
rules:
|
rules:
|
||||||
# Disabled as the linter doesn't understand Closure Compiler style imports
|
# Disabled as the linter doesn't understand Closure Compiler style imports
|
||||||
# ("goog.require") and Closure Library's global symbols.
|
# ("goog.require") and Closure Library's global symbols.
|
||||||
@@ -54,6 +56,7 @@ rules:
|
|||||||
prefer-promise-reject-errors: error
|
prefer-promise-reject-errors: error
|
||||||
semi-style: error
|
semi-style: error
|
||||||
semi: error
|
semi: error
|
||||||
|
no-floating-promise/no-floating-promise: error
|
||||||
overrides:
|
overrides:
|
||||||
# Parse specific files as ES Modules (the standard parser would fail).
|
# Parse specific files as ES Modules (the standard parser would fail).
|
||||||
- files:
|
- files:
|
||||||
|
|||||||
Reference in New Issue
Block a user