mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-21934] Upgrade to eslint 9 (#14754)
Upgrades to Eslint v9. Since this is a major version there were breaking changes, but since we've previously migrated to flat configs in #12806 those were minimal.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
import { fixupPluginRules } from "@eslint/compat";
|
||||
import eslint from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
import angular from "angular-eslint";
|
||||
@@ -31,8 +31,8 @@ export default tseslint.config(
|
||||
reportUnusedDisableDirectives: "error",
|
||||
},
|
||||
plugins: {
|
||||
rxjs: rxjs,
|
||||
"rxjs-angular": angularRxjs,
|
||||
rxjs: fixupPluginRules(rxjs),
|
||||
"rxjs-angular": fixupPluginRules(angularRxjs),
|
||||
"@bitwarden/platform": platformPlugins,
|
||||
},
|
||||
languageOptions: {
|
||||
|
||||
Reference in New Issue
Block a user