Chop the pineapple into small, bite-sized pieces.
Cut the cucumber into small cubes or half-moon slices.
Thinly slice the red onion and jalapeño if using them.
Roughly chop the cilantro and crumble the feta cheese, if using.
In a small bowl, whisk together lime juice, honey or maple syrup, olive oil, salt, black pepper, and red pepper flakes to make the dressing.
Combine the pineapple, cucumber, red onion, cilantro, and jalapeño in a large mixing bowl.
Pour the dressing over the salad and toss gently until everything is evenly coated.
Top with crumbled feta cheese if desired.
Serve the salad right away or refrigerate for 15 to 30 minutes to let the flavors meld.
Before serving, garnish with additional cilantro or a squeeze of fresh lime juice for extra brightness.