// Copyright (c) Meta Platforms, Inc. and affiliates. /** * @file Test file with intentional violations for ESLint plugin testing * Run with: pnpm lint packages/core/src/Badge/Badge.test-violations.tsx */ import * as stylex from "../style-runtime.js"; // This file contains intentional violations to test the Astryx ESLint plugin const badStyles = { hardcodedFontSize: { kGuDYH: "xif65rj", $$css: true as const }, hardcodedFontWeight: { k63SB2: "x1s688f", $$css: true as const }, hardcodedColor: { kMwMTN: "xj8ax7g", kWkggS: "xcpsgoo", $$css: true as const }, hardcodedSpacing: { kmVPX3: "x1tamke2", kogj98: "xkib98w", kOIVth: "x1jnr06f", $$css: true as const }, hardcodedRadius: { kaIpWk: "xur7f20", $$css: true as const }, missingLetterSpacing: { kGuDYH: "xfifm61", k63SB2: "xk50ysn", $$css: true as const }, goodStyles: { k1xSpc: "x78zum5", kGNEyG: "x6s0dn4", kjj79g: "xl56j7k", $$css: true as const }, allowedValues: { kmVPX3: "x1717udv", kogj98: "x1bpp3o7", kMwMTN: "x1heor9g", $$css: true as const } }; export { badStyles };