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:
parent
8461cde200
commit
a42749386a
@ -15,7 +15,10 @@ module.exports = {
|
|||||||
"xss",
|
"xss",
|
||||||
"no-unsanitized"
|
"no-unsanitized"
|
||||||
],
|
],
|
||||||
ignorePatterns: ["dist/*"],
|
ignorePatterns: [
|
||||||
|
"dist/*",
|
||||||
|
"tailwind.config.js"
|
||||||
|
],
|
||||||
rules: {
|
rules: {
|
||||||
"react/react-in-jsx-scope": 0,
|
"react/react-in-jsx-scope": 0,
|
||||||
"security/detect-object-injection": "off",
|
"security/detect-object-injection": "off",
|
||||||
|
|||||||
@ -13,5 +13,4 @@ export const routingFeature = getFeature({
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@ -3,11 +3,16 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
import { getInjectable, getInjectionToken } from "@ogre-tools/injectable";
|
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 { searchParamsOptions } from "./search-params";
|
||||||
import { historyInjectable } from "./history.injectable";
|
import { historyInjectable } from "./history.injectable";
|
||||||
|
|
||||||
export const observableHistoryInjectionToken = getInjectionToken<ObservableHistory<unknown>>({
|
export const observableHistoryInjectionToken = getInjectionToken<
|
||||||
|
ObservableHistory<unknown>
|
||||||
|
>({
|
||||||
id: "observable-history-injection-token",
|
id: "observable-history-injection-token",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user