Turn boilerplate into a maintained, documented template

Rename newsystem -> fvtt-ts-react-boilerplate, install fvtt-types for
real typing throughout (DataModelConfig augmentation, typed sheet
overrides), wire up i18n (lang/en.json was an empty directory and
fr.json was empty), add MIT license, eslint/prettier/vitest tooling,
GitHub Actions CI, and extensive docs/ covering the architecture,
adding content, styling, localization, testing, and how to rename
this again for a new system.
This commit is contained in:
unknown committed 2026-06-22 23:21:53 +02:00
1 parent 98a7a2d774
commit 9568be0211
28 files changed
+5383 -58

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import js from "@eslint/js";
import tseslint from "typescript-eslint";
import react from "eslint-plugin-react";
import prettier from "eslint-config-prettier";
import globals from "globals";
export default tseslint.config(
{ ignores: ["dist/**", "node_modules/**"] },
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["src/**/*.{ts,tsx}"],
plugins: { react },
languageOptions: {
globals: { ...globals.browser }
},
rules: {
...react.configs.recommended.rules,
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
settings: {
react: { version: "18.3" }
}
},
prettier
);