v14.1.0
14.1.0 (2024-02-16)
Features
-
add
@typescript-eslint/no-require-imports
(6e6a8d7)
Note: Not considered breaking, as@typescript-eslint/no-var-requires
is already there.
You should already not use,require
in your codebase.
It was a mistake to not include this rule.However, the newly added rule, will now report an error for the following example code:
const [loaded, error] = useFonts({ CustomFont: require("../assets/fonts/CustomFont.ttf") })
Must read: "Every change breaks someones workflow", https://xkcd.com/1172/
-
add support for
@typescript-eslint
v7 (dbe252f)