@typescript-eslint/no-explicit-any
Detect any explicit "any" type, it should be replaced by another specific valid type (e.g string, number, boolean)
The Codiga Static Analysis engine checks TypeScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Detect any explicit "any" type, it should be replaced by another specific valid type (e.g string, number, boolean)
Detect all non-null assertions as they cancel the benefits of strict null-checking mode
Disallows the use of require statements except in import statements.
Use 'namespace' instead of 'module' to declare custom TypeScript modules.
Forbid the use of mutating methods
Prohibit default exports.
Detect any duplicate imports
Forbid the import of external modules that are not declared in the package.json's dependencies, devDependencies, optionalDependencies, peerDependencies, or bundledDependencies.
Suggest using jest.spyOn()
Prevent definitions of unused propTypes
Disallow use of optional chaining in contexts where the undefined value is not allowed
Display parameter is missing
Expected a conditional expression and instead saw an assignment
Do not use <head>. Use Head from 'next/head' instead.
Do not assign to the exception parameter.
Prevent usage of next/server outside of middleware.js.
`next/script`'s `beforeInteractive` strategy should not be used outside of `pages/_document.js`
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.