Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

679 B
Raw Blame
import tseslint from "typescript-eslint";

export default [
    { ignores: ["**/*.wasm.d.ts"] },
    {
        files: ["packages/wasm/*/pkg/*.d.ts"],
        languageOptions: { parser: tseslint.parser },
        plugins: { "@typescript-eslint": tseslint.plugin },
        rules: {
            "@typescript-eslint/no-explicit-any": "error",
            "@typescript-eslint/naming-convention": [
                "error",
                {
                    selector: ["function", "method", "property", "accessor"],
                    format: ["camelCase"],
                },
                { selector: "typeLike", format: ["PascalCase"] },
            ],
        },
    },
];