UNPKG

eslint-plugin-file-export-name

Version:

ESLint plugin to enforce matching file names with default export names.

9 lines 303 B
module.exports = { preset: 'ts-jest', // TypeScript 사용시 testEnvironment: 'node', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'], moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1' } };