@foray1010/eslint-config
Version:
It aims at providing a general eslint config for:
15 lines (13 loc) • 506 B
JavaScript
export const testFileGlobs = [
'**/__fixtures__/**/*.{cjs,cts,js,mjs,mts,ts,tsx}',
'**/__mocks__/**/*.{cjs,cts,js,mjs,mts,ts,tsx}',
'**/__tests__/**/*.{cjs,cts,js,mjs,mts,ts,tsx}',
'**/*.{spec,test}.{cjs,cts,js,mjs,mts,ts,tsx}',
]
export const typeScriptFileGlobs = ['**/*.{cts,mts,ts,tsx}']
export const typeScriptTestFileGlobs = [
'**/__fixtures__/**/*.{cts,mts,ts,tsx}',
'**/__mocks__/**/*.{cts,mts,ts,tsx}',
'**/__tests__/**/*.{cts,mts,ts,tsx}',
'**/*.{spec,test}.{cts,mts,ts,tsx}',
]