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.
28 lines
670 B
JavaScript
28 lines
670 B
JavaScript
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
|
|
);
|