Heat the olive oil in a frying pan. Add the chilli and garlic to the pan. After about a minute, add the basil leaves and gently wilt them in the flavoured oil.
Remove the garlic, basil and chilli from the pan and set aside. Add the chopped tomatoes to the frying pan.
Put the garlic, basil and chilli back in the pan with the tomatoes. Simmer for at least 10 minutes, until the sauce has thickened a little. Add salt to taste.
Meanwhile, cook the pasta according to the packet instructions in large saucepan of boiling, salted water until al dente.
Drain the pasta and the tomato sauce to it. Serve with shavings of parmesan.