mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 06:46:06 -04:00
feat(gui): open links in default browser (#50)
This commit is contained in:
parent
e4141c763b
commit
ff2e3ae8dd
10 changed files with 218 additions and 191 deletions
|
@ -15,6 +15,25 @@ export default [
|
|||
languageOptions: { globals: globals.browser },
|
||||
rules: {
|
||||
"react/react-in-jsx-scope": "off",
|
||||
// Disallow the use of the `open` on the gloal object
|
||||
"no-restricted-globals": [
|
||||
"warn",
|
||||
{
|
||||
name: "open",
|
||||
message:
|
||||
"Use the open(...) function from @tauri-apps/plugin-shell instead",
|
||||
},
|
||||
],
|
||||
// Disallow the use of the `open` on the `window` object
|
||||
"no-restricted-properties": [
|
||||
"warn",
|
||||
{
|
||||
object: "window",
|
||||
property: "open",
|
||||
message:
|
||||
"Use the open(...) function from @tauri-apps/plugin-shell instead",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue