mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 06:46:06 -04:00
chore(gui): Upgrade @tauri-apps/api and add eslint
This commit is contained in:
parent
6088bd18b4
commit
fea1e66c64
2 changed files with 26 additions and 2 deletions
20
src-gui/eslint.config.js
Normal file
20
src-gui/eslint.config.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
import globals from "globals";
|
||||
import pluginJs from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
import pluginReact from "eslint-plugin-react";
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ["node_modules", "dist"],
|
||||
},
|
||||
pluginJs.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
pluginReact.configs.flat.recommended,
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
|
||||
languageOptions: { globals: globals.browser },
|
||||
rules: {
|
||||
"react/react-in-jsx-scope": "off",
|
||||
},
|
||||
},
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue