1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Fix lint

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-05-01 16:42:55 -04:00
parent 8461cde200
commit a42749386a
3 changed files with 11 additions and 4 deletions

View File

@ -15,7 +15,10 @@ module.exports = {
"xss",
"no-unsanitized"
],
ignorePatterns: ["dist/*"],
ignorePatterns: [
"dist/*",
"tailwind.config.js"
],
rules: {
"react/react-in-jsx-scope": 0,
"security/detect-object-injection": "off",

View File

@ -13,5 +13,4 @@ export const routingFeature = getFeature({
],
});
},
});

View File

@ -3,11 +3,16 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable, getInjectionToken } from "@ogre-tools/injectable";
import { createObservableHistory, ObservableHistory } from "mobx-observable-history";
import {
createObservableHistory,
ObservableHistory,
} from "mobx-observable-history";
import { searchParamsOptions } from "./search-params";
import { historyInjectable } from "./history.injectable";
export const observableHistoryInjectionToken = getInjectionToken<ObservableHistory<unknown>>({
export const observableHistoryInjectionToken = getInjectionToken<
ObservableHistory<unknown>
>({
id: "observable-history-injection-token",
});