否定・回避N1
〜ことのないよう
so that... doesn't happen / in order to avoid...
Structure
V-辞書形 + ことのないよう(に)
Explanation
In order to avoid the first clause, one takes the second action. Attached to the dictionary form of verbs.
Examples
忘れることのないよう、メモに書いておいた。
I wrote it down so I wouldn't forget.
同じ失敗を繰り返すことのないよう、注意しましょう。
Let's be careful not to repeat the same mistake.
Note
Synonymous with ないように but more formal, often for warnings or cautions.
Related Grammar
〜ないように〜ないようにする