Skip to main content
Glama

Bucket Feature Flags MCP Server

Official
by reflagcom
eslint.config.js1.06 kB
const base = require("@reflag/eslint-config"); const preactConfig = require("eslint-config-preact"); const compatPlugin = require("eslint-plugin-compat"); const reactPlugin = require("eslint-plugin-react"); const reactHooksPlugin = require("eslint-plugin-react-hooks"); module.exports = [ ...base, { // Preact projects files: ["**/*.tsx"], settings: { react: { // We only care about marking h() as being a used variable. pragma: "h", // We use "react 16.0" to avoid pushing folks to UNSAFE_ methods. version: "16.0", }, }, plugins: { compat: compatPlugin, react: reactPlugin, "react-hooks": reactHooksPlugin, }, rules: { ...preactConfig.rules, // Ignore React attributes that are not valid in Preact. // Alternatively, we could use the preact/compat alias or turn off the rule. "react/no-unknown-property": ["off"], "no-unused-vars": ["off"], "react/no-danger": ["off"], }, }, { ignores: ["dist/", "example/"] }, ];

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/reflagcom/bucket-javascript-sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server