Skip to content

Commit d596208

Browse files
committed
feat: update spago to spago@next
1 parent a0ed953 commit d596208

20 files changed

+5792
-6713
lines changed

bower.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

codegen/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"dependencies": {
88
"react-html-attributes": "^1.4.6",
9-
"change-case": "^3.1.0",
10-
"svg-element-attributes": "^1.3.0"
9+
"change-case": "^5.4.4",
10+
"svg-element-attributes": "^1.3.1"
1111
}
1212
}

eslint.config.mjs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import globals from "globals";
3+
import js from "@eslint/js";
4+
import pluginReact from "eslint-plugin-react";
5+
import { includeIgnoreFile } from "@eslint/compat";
6+
import path from "node:path";
7+
import { fileURLToPath } from "node:url";
8+
9+
const __filename = fileURLToPath(import.meta.url);
10+
const __dirname = path.dirname(__filename);
11+
const gitignorePath = path.resolve(__dirname, ".gitignore");
12+
13+
export default defineConfig([
14+
globalIgnores(["codegen/**/*"]),
15+
includeIgnoreFile(gitignorePath),
16+
{
17+
files: ["**/*.{js,mjs,cjs,jsx}"],
18+
plugins: { js },
19+
extends: ["js/recommended"],
20+
languageOptions: { globals: globals.browser },
21+
rules: {
22+
"no-unused-vars": [
23+
"error",
24+
{ argsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" }
25+
]
26+
}
27+
},
28+
pluginReact.configs.flat.recommended
29+
]);

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
};
3232
}
3333
);
34-
}
34+
}

0 commit comments

Comments
 (0)