mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2026-04-05 09:05:25 +00:00
* rename test:lint:eslint to lint and update eslint-config-it4c package * simplify config and make it ts * jest update & ts * suppress server logging output in tests * remove test node_env as it is default for jest * use eslint-config-it4c * packages = module * fix tailwind as ts * eslitn autofix * more fixes * tsconfig & some eslint rules * fixes * more fixes * more exceptions * do not allow warnings * fix config * ignore vuepress generated configs * ts include fix
18 lines
374 B
TypeScript
18 lines
374 B
TypeScript
import config, { jest } from 'eslint-config-it4c'
|
|
|
|
export default [
|
|
{ ignores: ['build/', 'coverage/'] },
|
|
...config,
|
|
...jest,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: {
|
|
allowDefaultProject: ['jest/*.ts', 'src/*.spec.ts', 'src/*.test.ts'],
|
|
defaultProject: './tsconfig.eslint.json',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
]
|