UNPKG

eslint-config-regiojet-next

Version:

Eslint Typescript rules for Next.js React projects

18 lines (15 loc) 463 B
// @ts-check const config = [ { name: '@next/next/core-web-vitals', rules: { // Prevent usage of <a> elements to navigate to internal Next.js pages. // https://nextjs.org/docs/messages/no-html-link-for-pages '@next/next/no-html-link-for-pages': 'error', // Prevent synchronous scripts. // https://nextjs.org/docs/messages/no-sync-scripts '@next/next/no-sync-scripts': 'error', }, }, ]; export default config;