/**1* Adds `.jsx`, `.ts` and `.tsx` as an extension, and enables JSX/TSX parsing.2*/34// Omit `.d.ts` because 1) TypeScript compilation already confirms that5// types are resolved, and 2) it would mask an unresolved6// `.ts`/`.tsx`/`.js`/`.jsx` implementation.7const allExtensions = ['.ts', '.tsx', '.js', '.jsx'];89module.exports = {1011settings: {12'import/extensions': allExtensions,13'import/external-module-folders': ['node_modules', 'node_modules/@types'],14'import/parsers': {15'@typescript-eslint/parser': ['.ts', '.tsx'],16},17'import/resolver': {18'node': {19'extensions': allExtensions,20},21},22},2324rules: {25// analysis/correctness2627// TypeScript compilation already ensures that named imports exist in the referenced module28'import/named': 'off',29},30};313233