prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1import baseConfig from "../../eslint.config.js";
2import reactCompiler from "eslint-plugin-react-compiler";
3import tseslint from "typescript-eslint";
4
5export default tseslint.config(...baseConfig, {
6 files: ["**/*.{jsx,tsx}"],
7 extends: [
8 tseslint.configs.strictTypeChecked,
9 tseslint.configs.stylisticTypeChecked,
10 ],
11 languageOptions: {
12 parserOptions: {
13 projectService: { allowDefaultProject: ["*.config.*s"] },
14 },
15 },
16 plugins: {
17 "react-compiler": reactCompiler,
18 },
19 rules: {
20 "@typescript-eslint/consistent-type-definitions": "off",
21 "react-compiler/react-compiler": "error",
22 },
23});