Cook pasta in a large pot of salted, boiling water until done then drain and rinse under cold water until cool. Set aside.
Meanwhile, grill corn cobs over medium-high heat for 6-8 minutes, rotating occasionally to char evenly on all sides. Slice kernels from cobs once cool enough to handle.
Add ingredients for Chili-Lime Dressing into a jar with a tight-fitting lid or bowl then shake or whisk to combine.
Combine pasta, corn, avocado, tomatoes, red onion, and basil in a large bowl then drizzle on desired amount of dressing. Season salad with additional salt and pepper then toss to combine. Serve immediately or refrigerate for up to one hour before serving*.
Notes
I recommend using brown rice pasta for chilled pasta salads — corn/rice blend gluten free pasta can become hard and brittle once refrigerated.