mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-30 11:19:12 +01:00
* feat: add improved search * wip: add support for sorting, rename use-options to use-query-options, add use-options for local usage, add pages search group * feat: add help links from manage layout to help search mode * feat: add additional search engines * feat: add group search details * refactor: improve users search group type * feat: add apps search group, add disabled search interaction * feat: add integrations and boards for search * wip: hook issue with react * fix: hook issue regarding actions and interactions * chore: address pull request feedback * fix: format issues * feat: add additional global actions to search * chore: remove unused code * fix: search engine short key * fix: typecheck issues * fix: deepsource issues * fix: eslint issue * fix: lint issues * fix: unordered dependencies * chore: address pull request feedback
26 lines
641 B
JavaScript
26 lines
641 B
JavaScript
import reactPlugin from "eslint-plugin-react";
|
|
import hooksPlugin from "eslint-plugin-react-hooks";
|
|
|
|
/** @type {Awaited<import('typescript-eslint').Config>} */
|
|
export default [
|
|
{
|
|
files: ["**/*.ts", "**/*.tsx"],
|
|
plugins: {
|
|
react: reactPlugin,
|
|
"react-hooks": hooksPlugin,
|
|
},
|
|
rules: {
|
|
...reactPlugin.configs["jsx-runtime"].rules,
|
|
...hooksPlugin.configs.recommended.rules,
|
|
// context.getSource is not a function
|
|
"react-hooks/rules-of-hooks": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
},
|
|
languageOptions: {
|
|
globals: {
|
|
React: "writable",
|
|
},
|
|
},
|
|
},
|
|
];
|