-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug where timeline name wasn't being forwarded in seek utils (#4975)
* fix eslint * forward timeline name
- Loading branch information
1 parent
ae6a482
commit 51d49e8
Showing
4 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
import { fixupConfigRules } from "@eslint/compat"; | ||
import hooksPlugin from "eslint-plugin-react-hooks"; | ||
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; | ||
import globals from "globals"; | ||
import tseslint from "typescript-eslint"; | ||
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; | ||
import { fixupConfigRules } from "@eslint/compat"; | ||
|
||
export default [ | ||
{ files: ["lib/**/*.{js,mjs,cjs,ts,jsx,tsx}"] }, | ||
{ languageOptions: { parserOptions: { ecmaFeatures: { jsx: true } } } }, | ||
{ languageOptions: { globals: globals.browser } }, | ||
...tseslint.configs.recommended, | ||
...fixupConfigRules(pluginReactConfig), | ||
{ | ||
plugins: { | ||
"react-hooks": hooksPlugin, | ||
}, | ||
rules: hooksPlugin.configs.recommended.rules, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters