@risemaxi/syntactio
Version:
Linting and formatting config for Rise client apps. Supports ESLint, Oxlint, and Oxfmt.
22 lines (21 loc) • 575 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.compilerConfig = void 0;
const oxlint_1 = require("oxlint");
/**
* React Compiler rules. Standalone.
* Requires eslint-plugin-react-hooks@>=6.0.0.
* Compose with other configs:
* extends: [nativeConfig, compilerConfig]
*/
exports.compilerConfig = (0, oxlint_1.defineConfig)({
jsPlugins: [
{
name: "react-compiler",
specifier: "eslint-plugin-react-hooks",
},
],
rules: {
"react-compiler/react-compiler": "error",
},
});