sindresorhus/eslint-plugin-unicorn
GitHub で見る[unicorn/prefer-at] should avoid auto fix " parent?.childNodes[parent.childNodes.length - 1];"
Open
#2,098 opened on 2023年5月15日
bughelp wantedtypes
説明
origin:
parent?.childNodes[parent.childNodes.length - 1];
after auto fix:
parent?.childNodes.at(-1);
unicorn/prefer-at
not safe